| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "巡检任务名称") |
| | | @ApiModelProperty(value = "设备名称") |
| | | @Excel(name = "巡检任务名称") |
| | | private String taskName; |
| | | |
| | | @ApiModelProperty(value = "设备id") |
| | | private Integer taskId; |
| | | |
| | | @ApiModelProperty(value = "巡检人ID") |
| | | private String inspectorId; |
| | | |
| | | @ApiModelProperty(value = "执行巡检的人员姓名") |
| | | @Excel(name = "执行巡检人员") |
| | | private String inspector; |
| | | |
| | | @ApiModelProperty(value = "任务附加说明或特殊情况记录") |
| | | @Excel(name = "备注") |
| | | private String remarks; |
| | | |
| | | @ApiModelProperty(value = "任务登记人ID") |
| | | private Long registrantId; |
| | | |
| | | @ApiModelProperty(value = "任务登记人姓名") |
| | | @Excel(name = "登记人") |
| | | private String registrant; |
| | | |
| | | @ApiModelProperty(value = "频次") |
| | | @Excel(name = "频次") |
| | | private String frequencyType; |
| | | |
| | | @ApiModelProperty(value = "时间细节") |
| | | @Excel(name = "开始日期与时间") |
| | | private String frequencyDetail; |
| | | |
| | | @ApiModelProperty(value = "巡检地点详细描述") |
| | |
| | | |
| | | @ApiModelProperty(value = "创建该记录的用户") |
| | | @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT) |
| | | private String createUser; |
| | | private Integer createUser; |
| | | |
| | | @ApiModelProperty(value = "记录创建时间") |
| | | @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "登记日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty(value = "最后修改该记录的用户") |
| | | @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT_UPDATE) |
| | | private String updateUser; |
| | | private Integer updateUser; |
| | | |
| | | @ApiModelProperty(value = "记录最后更新时间") |
| | | @TableField(fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT_UPDATE) |
| | |
| | | |
| | | @ApiModelProperty(value = "租户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer tenantId; |
| | | private Long tenantId; |
| | | |
| | | } |