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 SaasWorkOrderTimeLimitDto {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 工单时限名称
     */
    @ApiModelProperty(name = "timeLimitName", value = "工单时限名称")
    @NotBlank(message = "工单时限名称不能为空")
    private String timeLimitName;
    /**
     * 工单时限编号
     */
    @ApiModelProperty(name = "timeLimitNo", value = "工单时限编号")
    @NotBlank(message = "工单时限编号不能为空")
    private String timeLimitNo;
    /**
     * 工单处理时限(单位:小时)
     */
    @ApiModelProperty(name = "timeLimitCount", value = "工单处理时限(单位:小时)")
    @NotNull(message = "工单处理时限不能为空")
    private Integer timeLimitCount;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

}
