package com.maintain.business.domain.bo;

import com.maintain.common.core.domain.BaseEntity;
import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 报修单-维修项目\检验项目业务对象
 *
 * @author liushuai
 * @date 2025-04-01
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class ErpRepairFormProjectBatchBo {

    /**
     * 报修单ID
     */
    @NotNull(message = "报修单ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long repairFormId;

    /**
     * 维修项目ID列表
     */
    @NotEmpty(message = "维修项目列表不能为空", groups = { AddGroup.class, EditGroup.class })
    private List<Long> maintainIdList;

}
