package com.yuchen.saas.park.api.dto.work;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SaasWorkOrderAssignDto {
    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    @NotNull(message = "主键ID不能为空")
    private Long id;
    /**
     * 指派人
     */
    @ApiModelProperty(name = "dispatchUserIds", value = "指派人")
    @NotBlank(message = "指派人不能为空")
    private String dispatchUserIds;
    /**
     * 派工备注
     */
    @ApiModelProperty(name = "dispatchRemark", value = "派工备注")
    @NotBlank(message = "派工备注不能为空")
    private String dispatchRemark;

}
