lius
2023-09-01 e85c1425f6152ff82687cdccf04869e57536b5ce
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentOvertime.java
@@ -2,7 +2,6 @@
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -10,10 +9,8 @@
import lombok.experimental.Accessors;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
@@ -31,34 +28,62 @@
    private static final long serialVersionUID = -7163039765166584824L;
    /**
     * 设备编码
     */
    @Excel(name = "设备编码", width = 15)
    @ApiModelProperty(value = "设备编码")
    @TableField(exist = false)
    @Excel(name = "设备编号", width = 20)
    private String equipmentId;
    @TableField(exist = false)
    @Excel(name = "设备名称", width = 20)
    private String equipmentName;
    /**
     * 生效日期
     */
    @Excel(name = "生效日期", width = 15)
    @ApiModelProperty(value = "生效日期")
    @TableField(exist = false)
    private String effectiveDate;
    /**
     * 开始时间
     * 班次开始时间
     */
    @Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @Excel(name = "班次开始时间", width = 20)
    @ApiModelProperty("班次开始时间")
    @TableField(exist = false)
    private String startDate;
    /**
     * 结束时间
     * 班次结束时间
     */
    @Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @Excel(name = "班次结束时间", width = 20)
    @ApiModelProperty("班次结束时间")
    @TableField(exist = false)
    private String endDate;
    /**
     * 工作日历id
     */
    @ApiModelProperty(value = "工作日历id")
    private String calendarId;
    /**
     * 加班开始时间
     */
    @Excel(name = "加班开始时间", width = 20)
    @ApiModelProperty(value = "加班开始时间")
    private String startTime;
    /**
     * 加班结束时间
     */
    @Excel(name = "加班结束时间", width = 20)
    @ApiModelProperty(value = "加班结束时间")
    private String endTime;
    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 前台传入 判断每个id