package org.dromara.project.domain.dto.constructionuser;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 施工人员迁移请求对象
 *
 * @author lcj
 * @date 2025/3/31 14:50
 */
@Data
public class BusConstructionUserChangeProjectReq implements Serializable {
    @Serial
    private static final long serialVersionUID = -2638471692809830501L;

    /**
     * 主键
     */
    @NotNull(message = "主键id不能为空")
    private Long id;

    /**
     * 项目id
     */
    @NotNull(message = "项目id不能为空")
    private Long projectId;

    /**
     * 分包公司id
     */
    @NotNull(message = "分包公司id不能为空")
    private Long contractorId;
}
