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; /** *

* 员工工资主表 *

* * @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 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; }