package cn.iocoder.yudao.module.pms.controller.admin.iotprojecttask.vo;

import cn.iocoder.yudao.module.pms.controller.admin.iotattachment.vo.IotAttachmentSaveReqVO;
import cn.iocoder.yudao.module.pms.dal.dataobject.iotprojecttaskattrs.IotTaskAttrModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Set;

@Schema(description = "管理后台 - 项目信息任务拆分新增/修改 Request VO")
@Data
public class IotProjectTaskSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31284")
    private Long id;

    @Schema(description = "项目id", example = "2988")
    private Long projectId;

    @Schema(description = "平台井标识 0非平台井 1平台井", example = "1")
    private Integer platformWell;

    @Schema(description = "平台井组", example = "463e3996-be48-4758-8229-c1351cbf3e37")
    private String platformGroup;

    @Schema(description = "井号", example = "赵六")
    private String wellName;

    @Schema(description = "井型", example = "2")
    private String wellType;

    @Schema(description = "井别", example = "2")
    private String wellCategory;

    @Schema(description = "施工地点")
    private String location;

    @Schema(description = "施工设备")
    private Set<Long> deviceIds;

    @Schema(description = "施工工艺")
    private String technique;

    @Schema(description = "责任人([123,234])")
    private Set<Long> responsiblePerson;

    @Schema(description = "工单填报人([123,234])")
    private Set<Long> submitter;

    @Schema(description = "设计工作量")
    private String workloadDesign;

    @Schema(description = "状态", example = "1")
    private String status;

    @Schema(description = "工作量单位(段/层/方/井深/进尺)")
    private String workloadUnit;

    @Schema(description = "用户名", example = "赵六")
    private String userName;

    @Schema(description = "用户id", example = "25471")
    private Long userId;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "施工队伍")
    private Set<Long> deptIds;

    @Schema(description = "该任务所属部门id", example = "1755")
    private Long deptId;

    @Schema(description = "客户名称")
    private String manufactureName;

    @Schema(description = "合同名称", example = "王五")
    private String contractName;

    @Schema(description = "合同编号")
    private String contractCode;

    @Schema(description = "任务扩展属性", example = "[{\"a\": 1},{\"b\": 2}]")
    private List<IotTaskAttrModelProperty> extProperty;

    /**
     * 扩展字段
     */
    @Schema(description = "施工区域数据字典类型", example = "rq_iot_project_work_area_rh")
    private String dictType;

    @Schema(description = "附件列表", example = "瑞鹰 工程设计 地质设计 完井报告")
    private List<IotAttachmentSaveReqVO> attachments;
}