liyong
5 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
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
package com.ruoyi.staff.pojo;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
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 java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
 
/**
 * <p>
 * 员工工资主表
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-03-06 01:22:05
 */
@Getter
@Setter
@TableName("staff_salary_main")
@Schema(name = "StaffSalaryMain对象", description = "员工工资主表")
public class StaffSalaryMain implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableField(exist = false)
    private List<StaffSalaryDetail> staffSalaryDetailList;
 
    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "审核人Id")
    private Long auditUserId;
 
    @Schema(description = "审核人名称")
    private String auditUserName;
 
    @Schema(description = "工资主题")
    private String salaryTitle;
 
    @Schema(description = "关联部门ID,多个用逗号分隔")
    private String deptIds;
 
    @Schema(description = "工资月份,格式:yyyy-MM")
    private String salaryMonth;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "状态:1-草稿 2-审核未通过 3-待审核 4-待发放 5-已发放")
    private Integer status;
 
    @Schema(description = "工资总额")
    private BigDecimal totalSalary;
 
    @Schema(description = "支付银行")
    private String payBank;
 
    @TableField(exist = false)
    @Schema(description = "创建人")
    private String createUserName;
 
    @Schema(description = "发放时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime payTime;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime createTime;
 
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "修改用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}