package cn.ezhizao.project.business.housingFund.domain;

import cn.ezhizao.framework.web.domain.BaseEntity;
import cn.ezhizao.project.system.domain.SysFileStorage;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * @author 周晓
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BizHousingFundDeclareDetail extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "公积金申报表外键")
    private Long housingFundDeclareId;
    @ApiModelProperty("客户外键")
    private Long companyId;

    @ApiModelProperty(value = "年")
    private String year;

    @ApiModelProperty(value = "月")
    private String month;

    @ApiModelProperty("状态")
    private Integer status;
    
    @ApiModelProperty(value = "个人缴纳金额")
    private BigDecimal individualAmount;

    @ApiModelProperty(value = "单位缴纳金额")
    private BigDecimal unitAmount;

    @ApiModelProperty(value = "单位缴纳金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "详情")
    private String content;

    @ApiModelProperty(value = "审核详情")
    private String verifyContent;

    @ApiModelProperty("凭证文件")
    private String evidenceFile;

    @TableField(exist = false)
    private List<SysFileStorage> evidenceFiles;

    @TableField(exist = false)
    private String companyName;
    @TableField(exist = false)
    private String companyLevel;

    @TableField(exist = false)
    private List<Long> mainIds;

    @ApiModelProperty(value = "初次公积金信息保存")
    @TableField(exist = false)
    private Integer isFirstHousingFund;

    @ApiModelProperty(value = "公积金密码")
    @TableField(exist = false)
    private String housingFundPassword;

    @ApiModelProperty(value = "公积金单位账号")
    @TableField(exist = false)
    private String housingFundUnitAccount;

    @ApiModelProperty(value = "公积金划款密码")
    @TableField(exist = false)
    private String housingFundDeductionPassword;

    @TableField(exist = false)
    @ApiModelProperty("公积金窗口缴")
    private Integer isPayOnWindow;
}
