/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the yifu4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.yifu.cloud.plus.v1.yifu.social.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

/**
 * 社保公积金调基历史记录表
 *
 * @author fxj
 * @date 2022-07-15 11:38:05
 */
@Data
@TableName("t_social_fund_history" )
@EqualsAndHashCode(callSuper = true)
@Schema(description = "社保公积金调基历史记录表" )
public class TSocialFundHistory extends BaseEntity {

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "id" )
	@ExcelProperty("id" )
	private String id;
	/**
	 * name
	 */
	@Length(max = 20, message = "name 不能超过20个字符" )
	@ExcelAttribute(name = "name", maxLength = 20)
	@Schema(description = "name" )
	@ExcelProperty("name" )
	private String name;
	/**
	 * idCard
	 */
	@Length(max = 20, message = "idCard 不能超过20个字符" )
	@ExcelAttribute(name = "idCard", maxLength = 20)
	@Schema(description = "idCard" )
	@ExcelProperty("idCard" )
	private String idCard;
	/**
	 * employeeId
	 */
	@Length(max = 32, message = "employeeId 不能超过32个字符" )
	@ExcelAttribute(name = "employeeId", maxLength = 32)
	@Schema(description = "employeeId" )
	@ExcelProperty("employeeId" )
	private String employeeId;
	/**
	 * 单位养老基数
	 */
	@ExcelAttribute(name = "单位养老基数" )
	@Schema(description = "单位养老基数" )
	@ExcelProperty("单位养老基数" )
	private BigDecimal unitPensionBase;
	/**
	 * 单位医疗基数
	 */
	@ExcelAttribute(name = "单位医疗基数" )
	@Schema(description = "单位医疗基数" )
	@ExcelProperty("单位医疗基数" )
	private BigDecimal unitMedicalBase;
	/**
	 * 单位失业基数
	 */
	@ExcelAttribute(name = "单位失业基数" )
	@Schema(description = "单位失业基数" )
	@ExcelProperty("单位失业基数" )
	private BigDecimal unitUnemploymentBase;
	/**
	 * 单位工伤基数
	 */
	@ExcelAttribute(name = "单位工伤基数" )
	@Schema(description = "单位工伤基数" )
	@ExcelProperty("单位工伤基数" )
	private BigDecimal unitInjuryBase;
	/**
	 * 单位生育基数
	 */
	@ExcelAttribute(name = "单位生育基数" )
	@Schema(description = "单位生育基数" )
	@ExcelProperty("单位生育基数" )
	private BigDecimal unitBirthBase;
	/**
	 * 单位大病基数
	 */
	@ExcelAttribute(name = "单位大病基数" )
	@Schema(description = "单位大病基数" )
	@ExcelProperty("单位大病基数" )
	private BigDecimal unitBigailmentBase;
	/**
	 * 个人养老基数
	 */
	@ExcelAttribute(name = "个人养老基数" )
	@Schema(description = "个人养老基数" )
	@ExcelProperty("个人养老基数" )
	private BigDecimal personalPensionBase;
	/**
	 * 个人医疗基数
	 */
	@ExcelAttribute(name = "个人医疗基数" )
	@Schema(description = "个人医疗基数" )
	@ExcelProperty("个人医疗基数" )
	private BigDecimal personalMedicalBase;
	/**
	 * 个人失业基数
	 */
	@ExcelAttribute(name = "个人失业基数" )
	@Schema(description = "个人失业基数" )
	@ExcelProperty("个人失业基数" )
	private BigDecimal personalUnemploymentBase;
	/**
	 * 个人大病基数
	 */
	@ExcelAttribute(name = "个人大病基数" )
	@Schema(description = "个人大病基数" )
	@ExcelProperty("个人大病基数" )
	private BigDecimal personalBigailmentBase;
	/**
	 * 单位养老比例
	 */
	@ExcelAttribute(name = "单位养老比例" )
	@Schema(description = "单位养老比例" )
	@ExcelProperty("单位养老比例" )
	private BigDecimal unitPersionPro;
	/**
	 * unitPersionMoney
	 */
	@ExcelAttribute(name = "unitPersionMoney" )
	@Schema(description = "unitPersionMoney" )
	@ExcelProperty("unitPersionMoney" )
	private BigDecimal unitPersionMoney;
	/**
	 * 单位医疗比例
	 */
	@ExcelAttribute(name = "单位医疗比例" )
	@Schema(description = "单位医疗比例" )
	@ExcelProperty("单位医疗比例" )
	private BigDecimal unitMedicalPro;
	/**
	 * unitMedicalMoney
	 */
	@ExcelAttribute(name = "unitMedicalMoney" )
	@Schema(description = "unitMedicalMoney" )
	@ExcelProperty("unitMedicalMoney" )
	private BigDecimal unitMedicalMoney;
	/**
	 * 单位失业比例
	 */
	@ExcelAttribute(name = "单位失业比例" )
	@Schema(description = "单位失业比例" )
	@ExcelProperty("单位失业比例" )
	private BigDecimal unitUnemploymentPro;
	/**
	 * unitUnemploymentMoney
	 */
	@ExcelAttribute(name = "unitUnemploymentMoney" )
	@Schema(description = "unitUnemploymentMoney" )
	@ExcelProperty("unitUnemploymentMoney" )
	private BigDecimal unitUnemploymentMoney;
	/**
	 * 单位工伤比例
	 */
	@ExcelAttribute(name = "单位工伤比例" )
	@Schema(description = "单位工伤比例" )
	@ExcelProperty("单位工伤比例" )
	private BigDecimal unitInjuryPro;
	/**
	 * unitInjuryMoney
	 */
	@ExcelAttribute(name = "unitInjuryMoney" )
	@Schema(description = "unitInjuryMoney" )
	@ExcelProperty("unitInjuryMoney" )
	private BigDecimal unitInjuryMoney;
	/**
	 * 单位生育比例
	 */
	@ExcelAttribute(name = "单位生育比例" )
	@Schema(description = "单位生育比例" )
	@ExcelProperty("单位生育比例" )
	private BigDecimal unitBirthPro;
	/**
	 * unitBirthMoney
	 */
	@ExcelAttribute(name = "unitBirthMoney" )
	@Schema(description = "unitBirthMoney" )
	@ExcelProperty("unitBirthMoney" )
	private BigDecimal unitBirthMoney;
	/**
	 * 单位大病比例
	 */
	@ExcelAttribute(name = "单位大病比例" )
	@Schema(description = "单位大病比例" )
	@ExcelProperty("单位大病比例" )
	private BigDecimal unitBigailmentPro;
	/**
	 * unitBigailmentMoney
	 */
	@ExcelAttribute(name = "unitBigailmentMoney" )
	@Schema(description = "unitBigailmentMoney" )
	@ExcelProperty("unitBigailmentMoney" )
	private BigDecimal unitBigailmentMoney;
	/**
	 * 个人养老比例
	 */
	@ExcelAttribute(name = "个人养老比例" )
	@Schema(description = "个人养老比例" )
	@ExcelProperty("个人养老比例" )
	private BigDecimal personalPersionPro;
	/**
	 * personalPersionMoney
	 */
	@ExcelAttribute(name = "personalPersionMoney" )
	@Schema(description = "personalPersionMoney" )
	@ExcelProperty("personalPersionMoney" )
	private BigDecimal personalPersionMoney;
	/**
	 * 个人医疗比例
	 */
	@ExcelAttribute(name = "个人医疗比例" )
	@Schema(description = "个人医疗比例" )
	@ExcelProperty("个人医疗比例" )
	private BigDecimal personalMedicalPro;
	/**
	 * personalMedicalMoney
	 */
	@ExcelAttribute(name = "personalMedicalMoney" )
	@Schema(description = "personalMedicalMoney" )
	@ExcelProperty("personalMedicalMoney" )
	private BigDecimal personalMedicalMoney;
	/**
	 * 个人失业比例
	 */
	@ExcelAttribute(name = "个人失业比例" )
	@Schema(description = "个人失业比例" )
	@ExcelProperty("个人失业比例" )
	private BigDecimal personalUnemploymentPro;
	/**
	 * personalUnemploymentMoney
	 */
	@ExcelAttribute(name = "personalUnemploymentMoney" )
	@Schema(description = "personalUnemploymentMoney" )
	@ExcelProperty("personalUnemploymentMoney" )
	private BigDecimal personalUnemploymentMoney;
	/**
	 * 个人大病比例
	 */
	@ExcelAttribute(name = "个人大病比例" )
	@Schema(description = "个人大病比例" )
	@ExcelProperty("个人大病比例" )
	private BigDecimal personalBigailmentPro;
	/**
	 * personalBigailmentMoney
	 */
	@ExcelAttribute(name = "personalBigailmentMoney" )
	@Schema(description = "personalBigailmentMoney" )
	@ExcelProperty("personalBigailmentMoney" )
	private BigDecimal personalBigailmentMoney;
	/**
	 * 单位公积金基数
	 */
	@ExcelAttribute(name = "单位公积金基数" )
	@Schema(description = "单位公积金基数" )
	@ExcelProperty("单位公积金基数" )
	private BigDecimal unitFundBase;
	/**
	 * 个人公积金基数
	 */
	@ExcelAttribute(name = "个人公积金基数" )
	@Schema(description = "个人公积金基数" )
	@ExcelProperty("个人公积金基数" )
	private BigDecimal personalFundBase;
	/**
	 * 单位公积金比例
	 */
	@ExcelAttribute(name = "单位公积金比例" )
	@Schema(description = "单位公积金比例" )
	@ExcelProperty("单位公积金比例" )
	private BigDecimal unitFundProp;
	/**
	 * 个人公积金比例
	 */
	@ExcelAttribute(name = "个人公积金比例" )
	@Schema(description = "个人公积金比例" )
	@ExcelProperty("个人公积金比例" )
	private BigDecimal personalFundProp;
	/**
	 * unitFundMoney
	 */
	@ExcelAttribute(name = "unitFundMoney" )
	@Schema(description = "unitFundMoney" )
	@ExcelProperty("unitFundMoney" )
	private BigDecimal unitFundMoney;
	/**
	 * personalFundMoney
	 */
	@ExcelAttribute(name = "personalFundMoney" )
	@Schema(description = "personalFundMoney" )
	@ExcelProperty("personalFundMoney" )
	private BigDecimal personalFundMoney;
	/**
	 * 0老的调基，数据不对，将不使用；1新逻辑调基
	 */
	@ExcelAttribute(name = "0老的调基，数据不对，将不使用；1新逻辑调基" )
	@Schema(description = "0老的调基，数据不对，将不使用；1新逻辑调基" )
	@ExcelProperty("0老的调基，数据不对，将不使用；1新逻辑调基" )
	private Integer isOld;
	/**
	 * 缴纳类型（0最低缴纳、1自定义缴纳、2最高缴纳）
	 */
	@ExcelAttribute(name = "缴纳类型（0最低缴纳、1自定义缴纳、2最高缴纳）" )
	@Schema(description = "缴纳类型（0最低缴纳、1自定义缴纳、2最高缴纳）" )
	@ExcelProperty("缴纳类型（0最低缴纳、1自定义缴纳、2最高缴纳）" )
	private Integer paymentType;
	/**
	 * 是否是社保：0否1是
	 */
	@ExcelAttribute(name = "是否是社保：0否1是" )
	@Schema(description = "是否是社保：0否1是" )
	@ExcelProperty("是否是社保：0否1是" )
	private Integer isSocial;
	/**
	 * 是否是公积金：0否1是
	 */
	@ExcelAttribute(name = "是否是公积金：0否1是" )
	@Schema(description = "是否是公积金：0否1是" )
	@ExcelProperty("是否是公积金：0否1是" )
	private Integer isFund;
	/**
	 * 社保id
	 */
	@Length(max = 32, message = "社保id 不能超过32个字符" )
	@ExcelAttribute(name = "社保id", maxLength = 32)
	@Schema(description = "社保id" )
	@ExcelProperty("社保id" )
	private String socialId;
	/**
	 * 公积金id
	 */
	@Length(max = 32, message = "公积金id 不能超过32个字符" )
	@ExcelAttribute(name = "公积金id", maxLength = 32)
	@Schema(description = "公积金id" )
	@ExcelProperty("公积金id" )
	private String fundId;

}
