Lius
2025-03-12 da82d77c6773f65aadfde810233615b602da655a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package org.jeecg.modules.mdc.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
 
/**
 * @Description: 设备加班管理
 * @Author: Lius
 * @Date: 2023-08-25
 * @Version: V1.0
 */
@Data
@TableName("mdc_equipment_overtime")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "mdc_equipment_overtime对象", description = "设备加班管理")
public class MdcEquipmentOvertime extends JeecgEntity implements Serializable {
 
    private static final long serialVersionUID = -7163039765166584824L;
 
    @Excel(name = "设备编号", width = 20)
    @ApiModelProperty("设备编号")
    private String equipmentId;
 
    @TableField(exist = false)
    @Excel(name = "设备名称", width = 20)
    @ApiModelProperty("设备名称")
    private String equipmentName;
 
    @ApiModelProperty("日期")
    @Excel(name = "日期", width = 20)
    private String theDate;
 
//    @Excel(name = "自动计算标识", width = 15)
    @ApiModelProperty("自动计算标识")
    private Integer autoFlag = CommonConstant.AUTO_FLAG_N;
 
    /**
     * 加班开始时间
     */
    @Excel(name = "加班开始时间", width = 20)
    @ApiModelProperty(value = "加班开始时间")
    private String startTime;
    /**
     * 加班结束时间
     */
    @Excel(name = "加班结束时间", width = 20)
    @ApiModelProperty(value = "加班结束时间")
    private String endTime;
 
    /**
     * 加班时长
     */
    @Excel(name = "时长", width = 20)
    @ApiModelProperty(value = "时长")
    private BigDecimal duration;
 
    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;
 
    /**
     * 前台传入 判断每个id
     */
    @TableField(exist = false)
    private String parentId;
 
    /**
     * 前台传入 车间层级:1 部门层级:2
     */
    @TableField(exist = false)
    private String typeTree;
 
    /**
     * 部门parentId 关联子集id
     */
    @TableField(exist = false)
    private List<String> mdcSectionIds;
 
    @TableField(exist = false)
    private String equipmentIds;
 
}