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

import cn.iocoder.yudao.module.pms.dal.dataobject.iotprojecttaskattrs.IotTaskAttrModelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 专业公司工作量扩展属性 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotOperationMeetingAttrsRespVO {

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

    @Schema(description = "日报扩展模板id", example = "30140")
    @ExcelProperty("日报扩展模板id")
    private Long templateId;

    @Schema(description = "公司id", example = "15842")
    @ExcelProperty("公司id")
    private Long deptId;

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

    @Schema(description = "项目类别(钻井 修井 注氮 酸化压裂 ...)")
    @ExcelProperty("项目类别(钻井 修井 注氮 酸化压裂 ...)")
    private String projectClassification;

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

    @Schema(description = "井别")
    @ExcelProperty("井别")
    private String wellCategory;

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

    @Schema(description = "属性名称", example = "芋艿")
    @ExcelProperty("属性名称")
    private String name;

    @Schema(description = "属性标识符")
    @ExcelProperty("属性标识符")
    private String identifier;

    @Schema(description = "数据类型(double text textarea date dropdown)", example = "2")
    @ExcelProperty("数据类型(double text textarea date dropdown)")
    private String dataType;

    @Schema(description = "是否必填(0非必填 1必填)")
    @ExcelProperty("是否必填(0非必填 1必填)")
    private Integer required;

    @Schema(description = "单位(MPa)")
    @ExcelProperty("单位(MPa)")
    private String unit;

    @Schema(description = "访问模式(r读  w写)")
    @ExcelProperty("访问模式(r读  w写)")
    private String accessMode;

    @Schema(description = "默认值")
    @ExcelProperty("默认值")
    private String defaultValue;

    @Schema(description = "最大值")
    @ExcelProperty("最大值")
    private String maxValue;

    @Schema(description = "最小值")
    @ExcelProperty("最小值")
    private String minValue;

    @Schema(description = "不同专业公司的扩展属性")
    @ExcelProperty("不同专业公司的扩展属性")
    private IotTaskAttrModelProperty extProperty;

    @Schema(description = "排序值")
    @ExcelProperty("排序值")
    private Integer sort;

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

    @Schema(description = "状态(0启用 1禁用)", example = "2")
    @ExcelProperty("状态(0启用 1禁用)")
    private Integer status;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}