
package org.sky.scientific.pojo.entity;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import org.sky.core.tenant.mp.TenantEntity;
import java.io.Serial;
import java.math.BigDecimal;

/**
 * 技术人员工资表 实体类
 *
 * @author Kd
 * @since 2025-06-19
 */
@Data
@TableName("kd_salary")
@Schema(description = "Salary对象")
@EqualsAndHashCode(callSuper = true)
public class SalaryEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "姓名")
	private String name;

	@Schema(description = "工号")
	private String number;

	@Schema(description = "身份证号码")
	private String identityCard;

	@Schema(description = "所属年月，只需要年份，如2025", maxLength = 4)
	private String yearAndMonth;

	@Schema(description = "部门")
	private String department;

	@Schema(description = "人员类型")
	private String personnelType;

	@Schema(description = "上一年度月均工资(元)")
	private BigDecimal averageMonthlySalary;

	@Schema(description = "上一年度月均单位承担部分养老保险")
	private BigDecimal pensionInsurance;

	@Schema(description = "上一年度月均单位承担部分医疗保险")
	private BigDecimal medicalInsurance;

	@Schema(description = "上一年度月均单位承担部分失业保险")
	private BigDecimal unemploymentInsurance;

	@Schema(description = "上一年度月均单位承担部分工伤保险")
	private BigDecimal injuryInsurance;

	@Schema(description = "上一年度月均单位承担部分生育保险")
	private BigDecimal maternityInsurance;

	@Schema(description = "上一年度月均单位承担部分公积金")
	private BigDecimal providentFund;

	@Schema(description = "上一年度月均单位承担部分社保合计(元)")
	private BigDecimal socialInsurance;

	@Schema(description ="台计(元)")
	private BigDecimal total;

}
