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.util.List;

/**
 * 报修单-报修项目-派工业务对象 erp_repair_form_project_dispatch
 *
 * @author liushuai
 * @date 2025-04-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpRepairFormProjectDispatchBatchBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "项目ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;

    /**
     * 维修人员列表
     */
    @NotEmpty(message = "派工人员列表不能为空", groups = { AddGroup.class, EditGroup.class })
    private List<Long> dispatchIdList;


}
