gongchunyi
4 天以前 b7080587bc00e5451aa8435f093f0d8cc6f80320
src/main/java/com/ruoyi/inspectiontask/pojo/TimingTask.java
@@ -11,6 +11,7 @@
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
/**
 * @author :yys
@@ -36,6 +37,15 @@
    @Schema(description = "设备id")
    private Integer taskId;
    @TableField(exist = false)
    private List<Long> inspectionItemIds;
    @TableField(exist = false)
    private List<TimingTaskItem> inspectionItems;
    @TableField(exist = false)
    private List<TimingTaskItem> customItems;
    @Schema(description = "巡检人")
    @Excel(name = "执行巡检人")
    private String inspectorIds;
@@ -59,6 +69,10 @@
    @Schema(description = "是否激活")
    private boolean isActive;
    @Schema(description = "是否启用 0否 1是")
    @Excel(name = "是否启用", readConverterExp = "0=否,1=是")
    private Integer isEnabled;
    @Schema(description = "备注")
    @Excel(name = "备注")
@@ -85,17 +99,17 @@
    private String dateStr;
    @Schema(description = "创建该记录的用户")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @Schema(description = "记录创建时间")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    @TableField(fill = FieldFill.INSERT)
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    @Schema(description = "最后修改该记录的用户")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT_UPDATE)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @Schema(description = "记录最后更新时间")
@@ -103,7 +117,7 @@
    private LocalDateTime updateTime;
    @Schema(description = "租户ID")
    @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;