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

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

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

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("biz_financial_report_tax_detail 财务报税明细")
public class BizFinancialReportTaxDetailNonZero extends BaseEntity {
    @ApiModelProperty("收款外键")
    private Long financialReportTaxId;
    @ApiModelProperty("客户外键")
    private Long companyId;
    @ApiModelProperty("年")
    private String year;
    @ApiModelProperty("月")
    private String month;

    @ApiModelProperty("状态")
    private Integer status;
    @ApiModelProperty("纳税性质")
    private String taxType;
    @ApiModelProperty("是否零申报")
    private Integer isZero;
    @ApiModelProperty("增值税")
    private BigDecimal valueAddedTax;
    @ApiModelProperty("城建税")
    private BigDecimal cityConstructTax;
    @ApiModelProperty("教育费附加")
    private BigDecimal additionsTaxOfEducation;
    @ApiModelProperty("地方教育费附加")
    private BigDecimal lAdditionsTaxOfEducation;
    @ApiModelProperty("个人所得税")
    private BigDecimal individualIncomeTax;
    @ApiModelProperty("企业所得税")
    private BigDecimal businessIncomeTax;
    @ApiModelProperty("印花税")
    private BigDecimal stampTax;
    @ApiModelProperty("文化事业建设税")
    private BigDecimal culturalConstructTax;
    @ApiModelProperty("消费税")
    private BigDecimal excise;
    @ApiModelProperty("税款总额")
    private BigDecimal sumTax;
    @ApiModelProperty("详情")
    private String content;
    @ApiModelProperty("审核详情")
    private String verifyContent;

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

    @ApiModelProperty("报表文件")
    private String reportFile;

    @ApiModelProperty("可弥补之前年度的亏损")
    private BigDecimal previousAnnualLosses;

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

    @ApiModelProperty("审核人")
    private Long verifierId;

    @ApiModelProperty("reportFiles")
    @TableField(exist = false)
    private List<BizFinancialReportTaxDetailReportNonZero> reportFiles;


    /** 查询条件新增 */
    @ApiModelProperty("报税任务表外键")
    @TableField(exist = false)
    private List<Long> mainIds;

//    @TableField(exist = false)
    private Long workOrderId;

    @TableField(exist = false)
    private String companyName;

    @TableField(exist = false)
    private BizEntrust entrust;

}
