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

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class SaasMatterRepairDto {

    /**
     * 项目ID
     */
    @ApiModelProperty(name = "projectId", value = "项目ID")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;
    /**
     * 报修来源(1:上门 2:电话 3:线上登记 4:现场 5:其他)
     */
    @ApiModelProperty(name = "repairSource", value = "报修来源(1:上门 2:电话 3:线上登记 4:现场 5:其他)")
    @NotNull(message = "报修来源不能为空")
    private Integer repairSource;
    /**
     * 报修类型ID
     */
    @ApiModelProperty(name = "repairTypeId", value = "报修类型ID")
    @NotNull(message = "报修类型不能为空")
    private Long repairTypeId;
    /**
     * 报修人
     */
    @ApiModelProperty(name = "repairUserId", value = "报修人")
    @NotNull(message = "报修人不能为空")
    private Long repairUserId;
    /**
     * 报修人
     */
    @ApiModelProperty(name = "repairUserName", value = "报修人")
    @NotBlank(message = "报修人不能为空")
    private String repairUserName;
    /**
     * 联系电话
     */
    @ApiModelProperty(name = "linkPhone", value = "联系电话")
    @NotBlank(message = "联系电话不能为空")
    private String linkPhone;
    /**
     * 报修时间
     */
    @ApiModelProperty(name = "repairTime", value = "报修时间")
    @NotNull(message = "报修时间不能为空")
    private Date repairTime;
    /**
     * 预约时间
     */
    @ApiModelProperty(name = "appointTime", value = "预约时间")
    private Date appointTime;
    /**
     * 报修详情
     */
    @ApiModelProperty(name = "repairDetail", value = "报修详情")
    private String repairDetail;
    /**
     * 报修图片
     */
    @ApiModelProperty(name = "repairImage", value = "报修图片")
    private String repairImage;
    /**
     * 报修区域(1:户内 2:公区)
     */
    @ApiModelProperty(name = "repairArea", value = "报修区域(1:户内 2:公区)")
    @NotNull(message = "报修区域不能为空")
    private Integer repairArea;
    /**
     * 报修地点ID
     */
    @ApiModelProperty(name = "repairAddrIds", value = "报修地点ID")
    private String repairAddrIds;
    /**
     * 报修地点名称
     */
    @ApiModelProperty(name = "repairAddrNames", value = "报修地点名称")
    @NotBlank(message = "报修地点不能为空")
    private String repairAddrNames;
    /**
     * 应用ID
     */
    @ApiModelProperty(name = "appId", value = "应用ID")
    private String appId;

}
