maven
4 天以前 2ed03e83ce1e513632a188de78190e79a85636b9
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
package com.ruoyi.staff.dto;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
 
/**
 * @author buhuazhen
 * @date 2025/9/4
 * @email 3038525872@qq.com
 */
@Data
public class StaffSchedulingDto implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    /**
     * 员工ID
     */
    private Integer staffId;
 
    @Excel(name = "员工名称")
    private String staffName;
 
    @Excel(name = "员工编号")
    private String staffNo;
 
    /**
     * 部门
     */
    @Excel(name = "部门名称")
    private String department;
 
    /**
     * 排班类型
     */
    @Excel(name = "班次名称", readConverterExp = "1=早班,2=中班,3=晚班,4=夜班班")
    private String shiftType;
 
    /**
     * 工作日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "工作日期", dateFormat = "yyyy-MM-dd", width = 20)
    private Date workDate;
 
    /**
     * 开始工作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "开始工作时间", dateFormat = "mm:ss", width = 20)
    private LocalDateTime workStartTime;
 
    /**
     * 结束工作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "结束工作时间", dateFormat = "mm:ss", width = 20)
    private LocalDateTime workEndTime;
 
    /**
     * 工作时长
     */
    @Excel(name = "工作时长", width = 20)
    private BigDecimal workHours;
 
    /**
     * 状态
     */
    @Excel(name = "状态", readConverterExp = "1=已安排,2=已确认,3=已完成,4=已取消")
    private String status;
 
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
}