huminmin
昨天 ff09f8e85d51c5d127796bfbd097f5fad9267d4b
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
 
/**
 * <p>
 * 员工工资明细表
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-03-06 01:24:35
 */
@Getter
@Setter
@TableName("staff_salary_detail")
@Schema(name = "StaffSalaryDetail对象", description = "员工工资明细表")
public class StaffSalaryDetail implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "关联工资主表ID")
    private Long mainId;
 
    @Schema(description = "关联staff_on_job表主键ID")
    private Long staffOnJobId;
 
    @Schema(description = "员工姓名")
    private String staffName;
 
    @Schema(description = "职位名称")
    private String postName;
 
    @Schema(description = "部门名称")
    private String deptName;
 
    @Schema(description = "入司日期")
    @TableField(exist = false)
    private String entryDate;
 
    @Schema(description = "基本工资")
    private BigDecimal basicSalary;
 
    @Schema(description = "全勤奖金")
    private BigDecimal attendanceBonus;
 
    @Schema(description = "出勤天数")
    private Integer workDays;
 
    @Schema(description = "事假")
    private BigDecimal personalLeave;
 
    @Schema(description = "病假")
    private BigDecimal sickLeave;
 
    @Schema(description = "丧假")
    private BigDecimal bereavementLeave;
 
    @Schema(description = "婚假")
    private BigDecimal marriageLeave;
 
    @Schema(description = "津贴")
    private BigDecimal allowance;
 
    @Schema(description = "计件工资")
    private BigDecimal pieceSalary;
 
    @Schema(description = "计时工资")
    private BigDecimal hourlySalary;
 
    @Schema(description = "月时间合计")
    private BigDecimal monthTimeTotal;
 
    @Schema(description = "折合倍数")
    private BigDecimal conversionRatio;
 
    @Schema(description = "其他收入")
    private BigDecimal otherIncome;
 
    @Schema(description = "社保个人")
    private BigDecimal socialPersonal;
 
    @Schema(description = "公积金个人")
    private BigDecimal fundPersonal;
 
    @Schema(description = "其他支出")
    private BigDecimal otherDeduct;
 
    @Schema(description = "社保补缴")
    private BigDecimal socialSupplementAmount;
 
    @Schema(description = "工资个税")
    private BigDecimal salaryTax;
 
    @Schema(description = "应发工资")
    private BigDecimal grossSalary;
 
    @Schema(description = "应扣工资")
    private BigDecimal deductSalary;
 
    @Schema(description = "实发工资")
    private BigDecimal netSalary;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    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;
}