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

import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;
import lombok.EqualsAndHashCode;

/**
 * @author 周晓
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BizHousingFundConfirmDetailEmployee extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "公积金任务外键")
    private Long housingFundConfirmId;

    @ApiModelProperty(value = "月公积金单外键")
    private Long housingFundConfirmDetailId;

    @Excel(name = "客户名称")
    @TableField(exist = false)
    private String companyName;

    @Excel(name = "员工姓名")
    @ApiModelProperty(value = "员工姓名")
    private String employeeName;

    @Excel(name = "电话号码")
    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "身份正面照片")
    private String idCardImage;

    @ApiModelProperty(value = "身份证反面照片")
    private String idCardImageBack;

    @Excel(name = "基数")
    @ApiModelProperty(value = "基数")
    private BigDecimal cardinalNumber;

    @Excel(name = "比例")
    @ApiModelProperty(value = "比例")
    private BigDecimal ratio;

    @ApiModelProperty(value = "状态")
    private Integer changeStatus;

    @ApiModelProperty(value = "客户外键")
    private Long companyId;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    @TableField(exist = false)
    private BigDecimal companyAmount;
    @TableField(exist = false)
    private BigDecimal oneSelfAmount;
    @TableField(exist = false)
    private BigDecimal totalAmount;
    public void setRemark(String remark)
    {
        this.remark = remark;
    }
}
