
package org.sky.scientific.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 每月实际参研人员名单
 *
 * @author Kd
 * @since 2025-06-29
 */
 @Data
public class XmTechnicianSalaryVO implements Serializable {

	@Schema(description = "所属年月，如：202505")
	@NotBlank(message = "请选择所属年月")
 	private String yearAndMonth;

	@Schema(description = "研发项目ID")
 	private Long xmId;

	@Schema(description = "项目编号")
 	private String xmbh;

	@Schema(description = "项目名称")
 	private String xmmc;

	@Schema(description = "人员唯一标识")
	@NotNull(message = "unicode不能为空")
	private String unicode;

	@Schema(description = "人员编号")
	@TableField(exist = false)
	private String number;

	@Schema(description = "身份证号")
	@TableField(exist = false)
	private String idCard;

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

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

	@Schema(description = "本月出勤（小时）")
	private double attendanceHours;

	@Schema(description = "研发出勤（小时）")
	private double workHours;

	@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 bonus;

	@Schema(description = "福利费")
	private BigDecimal benefit;

	@Schema(description = "补充养老保险")
	private BigDecimal pensionInsuranceBc;

	@Schema(description = "补充医疗保险")
	private BigDecimal medicalInsuranceBc;
}
