package com.hzy.project.business.salary.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hzy.framework.aspectj.lang.annotation.Excel;
import com.hzy.framework.web.domain.BaseEntity;

/**
 * 工资对象 t_salary
 * 
 * @author ruoyi
 * @date 2026-01-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Salary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long salaryId;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 工资日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "工资日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date salaryDate;

    /** 工资总金额 */
    @Excel(name = "工资总金额")
    private BigDecimal sumAmount;

    /** 薪水分类 */
    @Excel(name = "薪水分类", readConverterExp = "salary=工资,bonus=奖金")
    private String salaryType;

    /** 删除标志 */
    private String delFlag;

    /** 工资明细信息 */
    private List<SalaryDetail> salaryDetailList;

}
