From 23855599412c4d61b38d78f0f3abd3430a48b5b1 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 25 六月 2025 11:51:38 +0800 Subject: [PATCH] Merge branch 'mdc_hyjs_master' --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentPunch.java | 193 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 193 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentPunch.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentPunch.java new file mode 100644 index 0000000..9ae8010 --- /dev/null +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentPunch.java @@ -0,0 +1,193 @@ +package org.jeecg.modules.mdc.entity; + +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 com.fasterxml.jackson.annotation.JsonFormat; +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 + * @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 extends JeecgEntity 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 = "鎵撳崱鐢ㄦ埛") + @Dict(dicCode = "id", dictTable = "sys_user", dicText = "realname") + private String punchUser; + /** + * 鎵撳崱鐢ㄦ埛璐﹀彿 + */ + + @ApiModelProperty(value = "鎵撳崱鐢ㄦ埛璐﹀彿") + @TableField(exist = false) + private String punchUserRealName; + /** + * 鎵撳崱鐢ㄦ埛鍚嶇О + */ + @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; + /** + * 鏄惁杩熷埌锛�0鏈棭閫�锛�1鏃╅��锛� + */ + @Excel(name = "鏄惁杩熷埌", width = 15) + @ApiModelProperty(value = "鏄惁杩熷埌") + private Integer isLate; + /** + * 鏄惁鏃╅�� + */ + @Excel(name = "鏄惁鏃╅��", width = 15) + @ApiModelProperty(value = "鏄惁鏃╅��") + private Integer isEarly; + + /** + * 鏃╃彮涓婄彮鎵撳崱鐜� + */ + @TableField(exist = false) + @Excel(name = "鏃╃彮涓婄彮鎵撳崱鐜�", width = 15) + @ApiModelProperty(value = "鏃╃彮涓婄彮鎵撳崱鐜�") + private BigDecimal morningShiftInRate; + + /** + * 鏅氱彮涓婄彮鎵撳崱鐜� + */ + @TableField(exist = false) + @Excel(name = "鏅氱彮涓婄彮鎵撳崱鐜�", width = 15) + @ApiModelProperty(value = "鏅氱彮涓婄彮鎵撳崱鐜�") + private BigDecimal eveningShiftInRate; + + /** + * 鏃╃彮涓嬬彮鎵撳崱鐜� + */ + @TableField(exist = false) + @Excel(name = "鏃╃彮涓嬬彮鎵撳崱鐜�", width = 15) + @ApiModelProperty(value = "鏃╃彮涓嬬彮鎵撳崱鐜�") + private BigDecimal morningShiftOutRate; + + /** + * 鏅氱彮涓嬬彮鎵撳崱鐜� + */ + @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; + +} -- Gitblit v1.9.3