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;
import java.io.Serializable;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:30:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectTaskInfoUpdateCmd implements Serializable {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "projectTaskInfoId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String projectTaskInfoId;
    @ApiModelProperty(value = "课题任务主键id", name = "projectTaskId", required = true)
    @NotEmpty(message = "课题任务主键id不能为空")
    private String projectTaskId;
    @ApiModelProperty(value = "任务名称", name = "workName", required = true)
    @NotEmpty(message = "任务名称不能为空")
    private String workName;
    @ApiModelProperty(value = "任务附件url", name = "workUrl", required = true)
    @NotEmpty(message = "任务附件url不能为空")
    private String workUrl;
    @ApiModelProperty(value = "任务附件名称", name = "workUrl", required = true)
    @NotEmpty(message = "任务附件名称不能为空")
    private String attachmentName;
}

