package com.chushang.inspection.project.dto;

import com.chushang.common.core.validator.Create;
import com.chushang.common.core.validator.Update;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @auther: zhao
 * @date: 2024/6/14 11:04
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserAutographDTO {


    /**
     * 对应所属的任务id
     */
    @NotNull(message = "用户Id不能为空", groups = {Create.class, Update.class})
    private Long userId;
    /**
     * 对应的签名图片
     */
    @NotNull(message = "用户Id不能为空", groups = {Create.class, Update.class})
    private String imgUrl;
    /**
     * 签名人
     */
    private String userName;
    /**
     * 昵称
     */
    private String nickName;
}
