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.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* @Description: mdc_equipment_punch
|
* @Author: jeecg-boot
|
* @Date: 2025-06-09
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mdc_equipment_punch")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value = "mdc_equipment_punch对象", description = "mdc_equipment_punch")
|
public class MdcEquipmentPunch implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "id")
|
private String id;
|
/**
|
* 设备编号
|
*/
|
@Excel(name = "设备编号", width = 15)
|
@ApiModelProperty(value = "设备编号")
|
private String equipmentId;
|
/**
|
* 打卡用户
|
*/
|
@Excel(name = "打卡用户", width = 15)
|
@ApiModelProperty(value = "打卡用户")
|
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;
|
/**
|
* 上班时间
|
*/
|
@Excel(name = "上班时间", width = 15, format = DatePattern.NORM_DATETIME_PATTERN)
|
@JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@ApiModelProperty(value = "上班时间")
|
private Date checkInTime;
|
/**
|
* 下班时间
|
*/
|
@Excel(name = "下班时间", width = 15, format = DatePattern.NORM_DATETIME_PATTERN)
|
@JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@ApiModelProperty(value = "下班时间")
|
private Date checkOutTime;
|
/**
|
* 记录日期
|
*/
|
@Excel(name = "记录日期", width = 15)
|
@ApiModelProperty(value = "记录日期")
|
private String recordDate;
|
/**
|
* 班次
|
*/
|
@Excel(name = "班次", width = 15)
|
@ApiModelProperty(value = "班次")
|
@Dict(dicCode = "shift_schedule")
|
private Integer shiftSchedule;
|
/**
|
* 班次名称
|
*/
|
@Excel(name = "班次名称", width = 15)
|
@ApiModelProperty(value = "班次名称")
|
@TableField(exist = false)
|
private String shiftScheduleName;
|
/**
|
* 是否缺卡
|
*/
|
@Excel(name = "是否缺卡", width = 15)
|
@ApiModelProperty(value = "是否缺卡")
|
private Integer isAbsent;
|
/**
|
* 是否迟到
|
*/
|
@Excel(name = "是否迟到", width = 15)
|
@ApiModelProperty(value = "是否迟到")
|
private Integer isLate;
|
/**
|
* 是否早退
|
*/
|
@Excel(name = "是否早退", width = 15)
|
@ApiModelProperty(value = "是否早退")
|
private Integer isEarly;
|
/**
|
* 创建人
|
*/
|
@ApiModelProperty(value = "创建人")
|
private String createBy;
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@ApiModelProperty(value = "创建时间")
|
private Date createTime;
|
/**
|
* 更新人
|
*/
|
@ApiModelProperty(value = "更新人")
|
private String updateBy;
|
/**
|
* 更新时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@ApiModelProperty(value = "更新时间")
|
private Date updateTime;
|
}
|