package com.zcloud.domain.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-29 11:28:09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectTaskGroupUserUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "projectTaskGroupUserId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String projectTaskGroupUserId;
    @ApiModelProperty(value = "课题任务主键id", name = "projectTaskId", required = true)
    @NotEmpty(message = "课题任务主键id不能为空")
    private String projectTaskId;
    @ApiModelProperty(value = "领域组id", name = "domainGroupId", required = true)
    @NotEmpty(message = "领域组id不能为空")
    private String domainGroupId;
    @ApiModelProperty(value = "课题执行企业id", name = "executeCorpinfoId", required = true)
    @NotNull(message = "课题执行企业id不能为空")
    private Long executeCorpinfoId;
    @ApiModelProperty(value = "部门主键id", name = "departmentId", required = true)
    @NotNull(message = "部门主键id不能为空")
    private Long departmentId;
    @ApiModelProperty(value = "人员id", name = "userId", required = true)
    @NotNull(message = "人员id不能为空")
    private Long userId;
}

