package com.ruoyi.compensationperformance.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.Date; /** * @author :yys * @date : 2025/8/8 9:40 */ @Data @TableName("compensation_performance") @ApiModel public class CompensationPerformance { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 员工id */ @ApiModelProperty("员工id") @Excel(name = "员工id") private Long staffId; /** * 姓名 */ @ApiModelProperty("姓名") @Excel(name = "姓名") private String name; /** * 薪资月份(查询) */ @ApiModelProperty("薪资月份(查询)") @TableField(exist = false) private String payDateStr; /** * 薪资月份 */ @ApiModelProperty("薪资月份") @Excel(name = "薪资月份", dateFormat = "yyyy-MM", width = 30) @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM") private Date payDate; /** * 应出勤天数 */ @ApiModelProperty("应出勤天数") @Excel(name = "应出勤天数") private BigDecimal shouldAttendedNum; /** * 实际出勤天数 */ @ApiModelProperty("实际出勤天数") @Excel(name = "实际出勤天数") private BigDecimal actualAttendedNum; /** * 基本工资 */ @ApiModelProperty("基本工资") @Excel(name = "基本工资") private BigDecimal basicSalary; /** * 岗位工资 */ @ApiModelProperty("岗位工资") @Excel(name = "岗位工资") private BigDecimal postSalary; /** * 入离职缺勤扣款 */ @ApiModelProperty("入离职缺勤扣款") @Excel(name = "入离职缺勤扣款") private BigDecimal deductionAbsenteeism; /** * 病假扣款 */ @ApiModelProperty("病假扣款") @Excel(name = "病假扣款") private BigDecimal sickLeaveDeductions; /** * 事假扣款 */ @ApiModelProperty("事假扣款") @Excel(name = "事假扣款") private BigDecimal deductionPersonalLeave; /** * 忘记打卡扣款 */ @ApiModelProperty("忘记打卡扣款") @Excel(name = "忘记打卡扣款") private BigDecimal forgetClockDeduct; /** * 绩效得分 */ @ApiModelProperty("绩效得分") @Excel(name = "绩效得分") private BigDecimal performanceScore; /** * 绩效工资 */ @ApiModelProperty("绩效工资") @Excel(name = "绩效工资") private BigDecimal performancePay; /** * 应发合计 */ @ApiModelProperty("应发合计") @Excel(name = "应发合计") private BigDecimal payableWages; /** * 社保个人 */ @ApiModelProperty("社保个人") @Excel(name = "社保个人") private BigDecimal socialSecurityIndividuals; /** * 社保公司 */ @ApiModelProperty("社保公司") @Excel(name = "社保公司") private BigDecimal socialSecurityCompanies; /** * 社保合计 */ @ApiModelProperty("社保合计") @Excel(name = "社保合计") private BigDecimal socialSecurityTotal; /** * 公积金合计 */ @ApiModelProperty("公积金合计") @Excel(name = "公积金合计") private BigDecimal providentFundTotal; /** * 公积金公司 */ @ApiModelProperty("公积金公司") @Excel(name = "公积金公司") private BigDecimal providentFundCompany; /** * 公积金个人 */ @ApiModelProperty("公积金个人") @Excel(name = "公积金个人") private BigDecimal providentFundIndividuals; /** * 应税工资 */ @ApiModelProperty("应税工资") @Excel(name = "应税工资") private BigDecimal taxableWaget; /** * 个人所得税 */ @ApiModelProperty("个人所得税") @Excel(name = "个人所得税") private BigDecimal personalIncomeTax; /** * 实发工资 */ @ApiModelProperty("实发工资") @Excel(name = "实发工资") private BigDecimal actualWages; /** * 创建者 */ @TableField(fill = FieldFill.INSERT) private Integer createUser; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** * 修改者 */ @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; /** * 修改时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; /** * 租户ID */ @TableField(fill = FieldFill.INSERT) private Long tenantId; }