/*
 *    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.salary.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 0申报
 *
 * @author hgw
 * @date 2026-03-18 14:47:00
 */
@Data
@ColumnWidth(15)
public class TSalaryZeroExportVo implements Serializable {

	@HeadFontStyle(fontHeightInPoints = 11)

	/**
	 * 员工姓名
	 */
	@Length(max = 50, message = "员工姓名 不能超过50 个字符")
	@ExcelAttribute(name = "员工姓名", maxLength = 50)
	@Schema(description = "员工姓名")
	@ExcelProperty("员工姓名")
	private String empName;
	/**
	 * 身份证号
	 */
	@Length(max = 25, message = "身份证号 不能超过25 个字符")
	@ExcelAttribute(name = "身份证号", maxLength = 25)
	@Schema(description = "身份证号")
	@ExcelProperty("身份证号")
	private String empIdcard;
	/**
	 * 手机号码
	 */
	@Length(max = 11, message = "手机号码 不能超过11 个字符")
	@ExcelAttribute(name = "手机号码", maxLength = 11)
	@Schema(description = "手机号码")
	@ExcelProperty("手机号码")
	private String empPhone;
	/**
	 * 项目名称
	 */
	@NotBlank(message = "项目名称 不能为空")
	@Length(max = 50, message = "项目名称 不能超过50 个字符")
	@ExcelAttribute(name = "项目名称", isNotEmpty = true, errorInfo = "项目名称 不能为空", maxLength = 50)
	@Schema(description = "项目名称")
	@ExcelProperty("项目名称")
	private String deptName;
	/**
	 * 项目编码
	 */
	@NotBlank(message = "项目编码 不能为空")
	@Length(max = 50, message = "项目编码 不能超过50 个字符")
	@ExcelAttribute(name = "项目编码", isNotEmpty = true, errorInfo = "项目编码 不能为空", maxLength = 50)
	@Schema(description = "项目编码")
	@ExcelProperty("项目编码")
	private String deptNo;
	/**
	 * 结算月份
	 */
	@ExcelAttribute(name = "结算月份", isNotEmpty = true, errorInfo = "结算月份不能为空", maxLength = 6)
	@NotBlank(message = "结算月份不能为空")
	@Length(max = 6, message = "结算月份不能超过6个字符")
	@ExcelProperty("结算月份")
	@Schema(description = "结算月份")
	private String settleMonth;
	/**
	 * 封面抬头
	 */
	@ExcelAttribute(name = "封面抬头", maxLength = 50)
	@Length(max = 50, message = "封面抬头不能超过50个字符")
	@ExcelProperty("封面抬头")
	@Schema(description = "封面抬头")
	private String invoiceTitle;
	/**
	 * 减除费用
	 */
	@ExcelAttribute(name = "减除费用")
	@Schema(description = "减除费用")
	@ExcelProperty("减除费用")
	private BigDecimal costReduction;
	/**
	 * 计税月份
	 */
	@Length(max = 6, message = "计税月份 不能超过6 个字符")
	@ExcelAttribute(name = "计税月份", maxLength = 6)
	@Schema(description = "计税月份")
	@ExcelProperty("计税月份")
	private String taxMonth;/**
	 * 数据来源：1：项目；2商险；3导入
	 */
	@ExcelAttribute(name = "数据来源", isNotEmpty = true, errorInfo = "数据来源：1：项目；2商险；3导入不能为空", maxLength = 1)
	@NotBlank(message = "数据来源：1：项目；2商险；3导入不能为空")
	@Length(max = 1, message = "数据来源：1：项目；2商险；3导入不能超过1个字符")
	@ExcelProperty("数据来源")
	@Schema(description = "数据来源：1：项目；2商险；3导入")
	private String dataSource;
	/**
	 * 导入人
	 */
	@ExcelAttribute(name = "导入人", maxLength = 10)
	@Length(max = 10, message = "导入人不能超过10个字符")
	@ExcelProperty("导入人")
	@Schema(description = "导入人")
	private String importerName;

}
