parent
b39d89ba88
commit
f2676dec9d
@ -1,59 +1,60 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.dustclearrecord.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.LocalDateTime;
|
||||
import cn.idev.excel.annotation.*;
|
||||
|
||||
@Schema(description = "管理后台 - 粉尘清扫打卡记录 Response VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class DustClearrecordRespVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "21496")
|
||||
@ExcelProperty("主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "数据接入标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "2822")
|
||||
@ExcelProperty("数据接入标识")
|
||||
private String dataId;
|
||||
|
||||
@Schema(description = "清扫项目", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
|
||||
@ExcelProperty("清扫项目")
|
||||
private String clearItemName;
|
||||
|
||||
@Schema(description = "完成情况 0:未完成;1:已完成", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("完成情况 0:未完成;1:已完成")
|
||||
private String taskProcess;
|
||||
|
||||
@Schema(description = "打卡人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("打卡人")
|
||||
private String taskPerson;
|
||||
|
||||
@Schema(description = "打卡日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("打卡日期")
|
||||
private LocalDateTime taskTime;
|
||||
|
||||
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "图片", example = "15259")
|
||||
@ExcelProperty("图片")
|
||||
private String picOssId;
|
||||
|
||||
@Schema(description = "图片", example = "https://www.iocoder.cn")
|
||||
@ExcelProperty("图片")
|
||||
private String picOssUrl;
|
||||
|
||||
@Schema(description = "附件", example = "29669")
|
||||
@ExcelProperty("附件")
|
||||
private String fileOssId;
|
||||
|
||||
@Schema(description = "附件", example = "https://www.iocoder.cn")
|
||||
@ExcelProperty("附件")
|
||||
private String fileOssUrl;
|
||||
|
||||
}
|
||||
package cn.iocoder.yudao.module.system.controller.admin.dustclearrecord.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.LocalDateTime;
|
||||
import cn.idev.excel.annotation.*;
|
||||
|
||||
@Schema(description = "管理后台 - 粉尘清扫打卡记录 Response VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class DustClearrecordRespVO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "21496")
|
||||
@ExcelProperty("主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "数据接入标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "2822")
|
||||
@ExcelProperty("数据接入标识")
|
||||
private String dataId;
|
||||
|
||||
@Schema(description = "清扫项目", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
|
||||
@ExcelProperty("清扫项目")
|
||||
private String clearItemName;
|
||||
private List<String> clearItemNameList;
|
||||
|
||||
@Schema(description = "完成情况 0:未完成;1:已完成", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("完成情况 0:未完成;1:已完成")
|
||||
private String taskProcess;
|
||||
|
||||
@Schema(description = "打卡人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("打卡人")
|
||||
private String taskPerson;
|
||||
|
||||
@Schema(description = "打卡日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("打卡日期")
|
||||
private LocalDateTime taskTime;
|
||||
|
||||
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "图片", example = "15259")
|
||||
@ExcelProperty("图片")
|
||||
private String picOssId;
|
||||
|
||||
@Schema(description = "图片", example = "https://www.iocoder.cn")
|
||||
@ExcelProperty("图片")
|
||||
private String picOssUrl;
|
||||
|
||||
@Schema(description = "附件", example = "29669")
|
||||
@ExcelProperty("附件")
|
||||
private String fileOssId;
|
||||
|
||||
@Schema(description = "附件", example = "https://www.iocoder.cn")
|
||||
@ExcelProperty("附件")
|
||||
private String fileOssUrl;
|
||||
|
||||
}
|
||||
|
||||
@ -1,69 +1,71 @@
|
||||
package cn.iocoder.yudao.module.system.dal.dataobject.dustclearrecord;
|
||||
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
|
||||
/**
|
||||
* 粉尘清扫打卡记录 DO
|
||||
*
|
||||
* @author 超级管理员
|
||||
*/
|
||||
@TableName("hazard_dust_clearrecord")
|
||||
@KeySequence("hazard_dust_clearrecord_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class DustClearrecordDO extends BaseDO {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String id;
|
||||
/**
|
||||
* 数据接入标识
|
||||
*/
|
||||
private String dataId;
|
||||
/**
|
||||
* 清扫项目
|
||||
*/
|
||||
private String clearItemName;
|
||||
/**
|
||||
* 完成情况 0:未完成;1:已完成
|
||||
*/
|
||||
private String taskProcess;
|
||||
/**
|
||||
* 打卡人
|
||||
*/
|
||||
private String taskPerson;
|
||||
/**
|
||||
* 打卡日期
|
||||
*/
|
||||
private LocalDateTime taskTime;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
private String picOssId;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
private String picOssUrl;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String fileOssId;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String fileOssUrl;
|
||||
|
||||
|
||||
}
|
||||
package cn.iocoder.yudao.module.system.dal.dataobject.dustclearrecord;
|
||||
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
|
||||
/**
|
||||
* 粉尘清扫打卡记录 DO
|
||||
*
|
||||
* @author 超级管理员
|
||||
*/
|
||||
@TableName("hazard_dust_clearrecord")
|
||||
@KeySequence("hazard_dust_clearrecord_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class DustClearrecordDO extends BaseDO {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
/**
|
||||
* 数据接入标识
|
||||
*/
|
||||
private String dataId;
|
||||
/**
|
||||
* 清扫项目
|
||||
*/
|
||||
private String clearItemName;
|
||||
@TableField(exist = false)
|
||||
private List<String> clearItemNameList;
|
||||
/**
|
||||
* 完成情况 0:未完成;1:已完成
|
||||
*/
|
||||
private String taskProcess;
|
||||
/**
|
||||
* 打卡人
|
||||
*/
|
||||
private String taskPerson;
|
||||
/**
|
||||
* 打卡日期
|
||||
*/
|
||||
private LocalDateTime taskTime;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
private String picOssId;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
private String picOssUrl;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String fileOssId;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String fileOssUrl;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue