package com.engine.salary.entity.datacollection.dto;

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.salary.annotation.Encrypt;
import com.engine.salary.annotation.SalaryTable;
import com.engine.salary.annotation.SalaryTableColumn;
import com.engine.salary.annotation.TableTitle;
import com.engine.salary.util.excel.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 数据采集-累计情况记录列表
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SalaryTable(pageId = "a5f85287-3354-4275-adn9-7d06e54y6rj8",tableType = WeaTableType.CHECKBOX)
public class AddUpSituationRecordDTO {

    @SalaryTableColumn(column = "id", display = false)
    private Long id;

    @ExcelProperty(index = 0)
    private String username;

    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @SalaryTableColumn(text = "税款所属期", width = "10%", column = "taxYearMonth", transmethod = "com.engine.salary.transmethod.TransMethod.timeToMoth")
    @TableTitle(title = "税款所属期", dataIndex = "taxYearMonth", key = "taxYearMonth")
    @ExcelProperty(index = 1)
    private Date taxYearMonth;

    private Long employeeId;

    @SalaryTableColumn(text = "个税扣缴义务人", width = "10%", column = "taxAgentName")
    @TableTitle(title = "个税扣缴义务人", dataIndex = "taxAgentName", key = "taxAgentName")
    @ExcelProperty(index = 2)
    private String taxAgentName;

    /**
     * 个税扣缴义务人id
     */
    private Long taxAgentId;

    @SalaryTableColumn(text = "部门", width = "10%", column = "departmentName")
    @TableTitle(title = "部门", dataIndex = "departmentName", key = "departmentName")
    @ExcelProperty(index = 3)
    private String departmentName;

    @SalaryTableColumn(text = "手机号", width = "10%", column = "mobile")
    @TableTitle(title = "手机号", dataIndex = "mobile", key = "mobile")
    @ExcelProperty(index = 4)
    private String mobile;

    @SalaryTableColumn(text = "工号", width = "10%", column = "jobNum")
    @TableTitle(title = "工号", dataIndex = "jobNum", key = "jobNum")
    @ExcelProperty(index = 5)
    private String jobNum;

    @SalaryTableColumn(text = "累计收入额", width = "10%", column = "addUpIncome")
    @TableTitle(title = "累计收入额", dataIndex = "addUpIncome", key = "addUpIncome")
    @ExcelProperty(index = 6)
    @Encrypt
    private String addUpIncome;

    @SalaryTableColumn(text = "累计减除费用", width = "10%", column = "addUpSubtraction")
    @TableTitle(title = "累计减除费用", dataIndex = "addUpSubtraction", key = "addUpSubtraction")
    @ExcelProperty(index = 7)
    @Encrypt
    private String addUpSubtraction;

    @SalaryTableColumn(text = "累计社保个人合计", width = "10%", column = "addUpSocialSecurityTotal")
    @TableTitle(title = "累计社保个人合计", dataIndex = "addUpSocialSecurityTotal", key = "addUpSocialSecurityTotal")
    @ExcelProperty(index = 8)
    @Encrypt
    private String addUpSocialSecurityTotal;

    @SalaryTableColumn(text = "累计公积金个人合计", width = "10%", column = "addUpAccumulationFundTotal")
    @TableTitle(title = "累计公积金个人合计", dataIndex = "addUpAccumulationFundTotal", key = "addUpAccumulationFundTotal")
    @ExcelProperty(index = 9)
    @Encrypt
    private String addUpAccumulationFundTotal;

    @ExcelProperty(index = 10)
    @SalaryTableColumn(text = "累计子女教育", width = "10%", column = "addUpChildEducation")
    @TableTitle(title = "累计子女教育", dataIndex = "addUpChildEducation", key = "addUpChildEducation")
    @Encrypt
    private String addUpChildEducation;

    @ExcelProperty(index = 11)
    @SalaryTableColumn(text = "累计继续教育", width = "10%", column = "addUpContinuingEducation")
    @TableTitle(title = "累计继续教育", dataIndex = "addUpContinuingEducation", key = "addUpContinuingEducation")
    @Encrypt
    private String addUpContinuingEducation;

    @ExcelProperty(index = 12)
    @SalaryTableColumn(text = "累计住房贷款利息", width = "10%", column = "addUpHousingLoanInterest")
    @TableTitle(title = "累计住房贷款利息", dataIndex = "addUpHousingLoanInterest", key = "addUpHousingLoanInterest")
    @Encrypt
    private String addUpHousingLoanInterest;

    @ExcelProperty(index = 13)
    @SalaryTableColumn(text = "累计住房租金", width = "10%", column = "addUpHousingRent")
    @TableTitle(title = "累计住房租金", dataIndex = "addUpHousingRent", key = "addUpHousingRent")
    @Encrypt
    private String addUpHousingRent;

    @ExcelProperty(index = 14)
    @SalaryTableColumn(text = "累计赡养老人", width = "10%", column = "addUpSupportElderly")
    @TableTitle(title = "累计赡养老人", dataIndex = "addUpSupportElderly", key = "addUpSupportElderly")
    @Encrypt
    private String addUpSupportElderly;

    @ExcelProperty(index = 15)
    @SalaryTableColumn(text = "累计大病医疗", width = "10%", column = "addUpIllnessMedical")
    @TableTitle(title = "累计大病医疗", dataIndex = "addUpIllnessMedical", key = "addUpIllnessMedical")
    @Encrypt
    private String addUpIllnessMedical;

    @ExcelProperty(index = 16)
    @SalaryTableColumn(text = "累计企业（职业）年金及其他福利", width = "10%", column = "addUpEnterpriseAndOther")
    @TableTitle(title = "累计企业（职业）年金及其他福利", dataIndex = "addUpEnterpriseAndOther", key = "addUpEnterpriseAndOther")
    @Encrypt
    private String addUpEnterpriseAndOther;

    @ExcelProperty(index = 17)
    @SalaryTableColumn(text = "累计其他扣除", width = "10%", column = "addUpOtherDeduction")
    @TableTitle(title = "累计其他扣除", dataIndex = "addUpOtherDeduction", key = "addUpOtherDeduction")
    @Encrypt
    private String addUpOtherDeduction;

    @ExcelProperty(index = 18)
    @SalaryTableColumn(text = "累计免税收入", width = "10%", column = "addUpTaxExemptIncome")
    @TableTitle(title = "累计免税收入", dataIndex = "addUpTaxExemptIncome", key = "addUpTaxExemptIncome")
    @Encrypt
    private String addUpTaxExemptIncome;

    @ExcelProperty(index = 19)
    @SalaryTableColumn(text = "累计准予扣除的捐赠额", width = "10%", column = "addUpAllowedDonation")
    @TableTitle(title = "累计准予扣除的捐赠额", dataIndex = "addUpAllowedDonation", key = "addUpAllowedDonation")
    @Encrypt
    private String addUpAllowedDonation;

    @ExcelProperty(index = 20)
    @SalaryTableColumn(text = "累计减免税额", width = "10%", column = "addUpTaxSavings")
    @TableTitle(title = "累计减免税额", dataIndex = "addUpTaxSavings", key = "addUpTaxSavings")
    @Encrypt
    private String addUpTaxSavings;

    @ExcelProperty(index = 21)
    @SalaryTableColumn(text = "累计已预扣预缴税额", width = "10%", column = "addUpAdvanceTax")
    @TableTitle(title = "累计已预扣预缴税额", dataIndex = "addUpAdvanceTax", key = "addUpAdvanceTax")
    @Encrypt
    private String addUpAdvanceTax;

    @ExcelProperty(index = 22)
    @SalaryTableColumn(text = "累计婴幼儿照护", width = "10%", column = "addUpInfantCare")
    @TableTitle(title = "累计婴幼儿照护", dataIndex = "addUpInfantCare", key = "addUpInfantCare")
    @Encrypt
    private String addUpInfantCare;

    @ExcelProperty(index = 23)
    @SalaryTableColumn(text = "累计个人养老金", width = "10%", column = "addUpPrivatePension")
    @TableTitle(title = "累计个人养老金", dataIndex = "addUpPrivatePension", key = "addUpPrivatePension")
    @Encrypt
    private String addUpPrivatePension;
}
