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

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

import java.util.List;

@Data
public class SaasMatterRepairSetDto {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 派工人员设置
     */
    @ApiModelProperty(name = "dispatchUserSet", value = "派工人员设置")
    private List<DispatchUserSet> dispatchUserSetList;
    /**
     * 能评价的报修工单状态(1:处理中 2:已处理 3:已确认 4:已关闭)
     */
    @ApiModelProperty(name = "canEvaluateStatus", value = "能评价的报修工单状态(1:处理中 2:已处理 3:已确认 4:已关闭)")
    private Integer canEvaluateStatus;
    /**
     * 是否开通回访(0:否 1:是)
     */
    @ApiModelProperty(name = "isFollowUp", value = "是否开通回访(0:否 1:是)")
    private Integer isFollowUp;

    @Data
    public static class DispatchUserSet {
        /**
         * 项目ID
         */
        @ApiModelProperty(name = "projectId", value = "项目ID")
        private Long projectId;
        /**
         * 报事报修类型ID列表
         */
        @ApiModelProperty(name = "matterRepairTypeIds", value = "报事报修类型ID列表")
        private String matterRepairTypeIds;
        /**
         * 部门ID
         */
        @ApiModelProperty(name = "deptId", value = "部门ID")
        private Long deptId;
        /**
         * 部门名称
         */
        @ApiModelProperty(name = "deptName", value = "部门名称")
        private String deptName;
        /**
         * 成员ID列表
         */
        @ApiModelProperty(name = "userIds", value = "成员ID列表")
        private String userIds;
        /**
         * 成员名称列表
         */
        @ApiModelProperty(name = "userNames", value = "成员名称列表")
        private String userNames;
    }

}
