| | |
| | | package org.jeecg.modules.mdc.entity; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import cn.hutool.core.date.DatePattern; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | 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.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description: mdc_equipment_punch |
| | |
| | | @Accessors(chain = true) |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value = "mdc_equipment_punch对象", description = "mdc_equipment_punch") |
| | | public class MdcEquipmentPunch implements Serializable { |
| | | public class MdcEquipmentPunch extends JeecgEntity implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Excel(name = "打卡用户", width = 15) |
| | | @ApiModelProperty(value = "打卡用户") |
| | | @Dict(dicCode = "id", dictTable = "sys_user", dicText = "realname") |
| | | private String punchUser; |
| | | /** |
| | | * 打卡用户账号 |
| | | */ |
| | | @Excel(name = "打卡用户账号", width = 15) |
| | | |
| | | @ApiModelProperty(value = "打卡用户账号") |
| | | @TableField(exist = false) |
| | | private String punchUserRealName; |
| | | /** |
| | | * 打卡用户名称 |
| | | */ |
| | | @Excel(name = "打卡用户名称", width = 15) |
| | | @ApiModelProperty(value = "打卡用户名称") |
| | | @TableField(exist = false) |
| | | private String punchUserUserName; |
| | |
| | | @ApiModelProperty(value = "记录日期") |
| | | private String recordDate; |
| | | /** |
| | | * 班次 |
| | | * 班次 |
| | | */ |
| | | @Excel(name = "班次", width = 15) |
| | | @ApiModelProperty(value = "班次") |
| | |
| | | @ApiModelProperty(value = "是否缺卡") |
| | | private Integer isAbsent; |
| | | /** |
| | | * 是否迟到 |
| | | * 是否迟到(0未早退,1早退) |
| | | */ |
| | | @Excel(name = "是否迟到", width = 15) |
| | | @ApiModelProperty(value = "是否迟到") |
| | |
| | | @Excel(name = "是否早退", width = 15) |
| | | @ApiModelProperty(value = "是否早退") |
| | | private Integer isEarly; |
| | | |
| | | /** |
| | | * 创建人 |
| | | * 早班上班打卡率 |
| | | */ |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | | @TableField(exist = false) |
| | | @Excel(name = "早班上班打卡率", width = 15) |
| | | @ApiModelProperty(value = "早班上班打卡率") |
| | | private BigDecimal morningShiftInRate; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | * 晚班上班打卡率 |
| | | */ |
| | | @JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN) |
| | | @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN) |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | @TableField(exist = false) |
| | | @Excel(name = "晚班上班打卡率", width = 15) |
| | | @ApiModelProperty(value = "晚班上班打卡率") |
| | | private BigDecimal eveningShiftInRate; |
| | | |
| | | /** |
| | | * 更新人 |
| | | * 早班下班打卡率 |
| | | */ |
| | | @ApiModelProperty(value = "更新人") |
| | | private String updateBy; |
| | | @TableField(exist = false) |
| | | @Excel(name = "早班下班打卡率", width = 15) |
| | | @ApiModelProperty(value = "早班下班打卡率") |
| | | private BigDecimal morningShiftOutRate; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | * 晚班下班打卡率 |
| | | */ |
| | | @JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN) |
| | | @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN) |
| | | @ApiModelProperty(value = "更新时间") |
| | | private Date updateTime; |
| | | @TableField(exist = false) |
| | | @Excel(name = "晚班下班打卡率", width = 15) |
| | | @ApiModelProperty(value = "晚班下班打卡率") |
| | | private BigDecimal eveningShiftOutRate; |
| | | |
| | | /** |
| | | * 白班上班打卡设备数量 |
| | | */ |
| | | @TableField(exist = false) |
| | | @Excel(name = "白班上班打卡设备数量", width = 15) |
| | | @ApiModelProperty(value = "白班上班打卡设备数量") |
| | | private Integer morningShiftInDeviceNum; |
| | | |
| | | /** |
| | | * 白班下班打卡设备数量 |
| | | */ |
| | | @TableField(exist = false) |
| | | @Excel(name = "白班下班打卡设备数量", width = 15) |
| | | @ApiModelProperty(value = "白班下班打卡设备数量") |
| | | private Integer morningShiftOutDeviceNum; |
| | | /** |
| | | * 夜班上班打卡设备数量 |
| | | */ |
| | | @TableField(exist = false) |
| | | @Excel(name = "夜班上班打卡设备数量", width = 15) |
| | | @ApiModelProperty(value = "夜班上班打卡设备数量") |
| | | private Integer eveningShiftInDeviceNum; |
| | | /** |
| | | * 夜班下班打卡设备数量 |
| | | */ |
| | | @TableField(exist = false) |
| | | @Excel(name = "夜班下班打卡设备数量", width = 15) |
| | | @ApiModelProperty(value = "夜班下班打卡设备数量") |
| | | private Integer eveningShiftOutDeviceNum; |
| | | /** |
| | | * 设备总数 |
| | | */ |
| | | @TableField(exist = false) |
| | | @Excel(name = "设备总数", width = 15) |
| | | @ApiModelProperty(value = "设备总数") |
| | | private Integer deviceCountNum; |
| | | |
| | | } |