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

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.ezhizao.framework.web.domain.BaseEntity;
import io.swagger.models.auth.In;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import cn.ezhizao.framework.aspectj.lang.annotation.Excel;

/**
 * 对账单对象 biz_statement_account
 *
 * @author ruoyi
 * @date 2023-12-05
 */
@Data
@TableName(value = "biz_statement_account")
public class BizStatementAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 扣款外键 */
    @ApiModelProperty(value = "${comment}")
    private Long deductId;

    /** 租户外键 */
    @ApiModelProperty(value = "${comment}")
    private Long tenantId;

    /** 年份 */
    @Excel(name = "年份")
    @ApiModelProperty(value = "年份")
    private String year;

    /** 月份 */
    @Excel(name = "月份")
    @ApiModelProperty(value = "月份")
    private String month;

    /** 任务类型 */
    @ApiModelProperty(value = "月份")
    private Long taskTypeId;

    /** 任务类型 */
    @Excel(name = "任务类型")
    @ApiModelProperty(value = "任务类型")
    private String taskType;

    /** 年收入 */
    @Excel(name = "年收入")
    @ApiModelProperty(value = "年收入")
    private String annualIncome;

    /** 是否有变化 */
    @Excel(name = "是否有变化")
    @ApiModelProperty(value = "是否有变化")
    private Integer haveChanged;

    /** 客户数量 */
    @Excel(name = "客户数量")
    @ApiModelProperty(value = "客户数量")
    private Integer companyNum;

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    /** 优惠后单价 */
    @Excel(name = "优惠后单价")
    @ApiModelProperty(value = "优惠后单价")
    private BigDecimal discountPrice;

    /** 总价 */
    @Excel(name = "总价")
    @ApiModelProperty(value = "总价")
    private BigDecimal amount;

    /** 减免总额  (单价-优惠后单价) * 户数 */
    @Excel(name = "优惠后金额")
    @ApiModelProperty(value = "优惠后金额")
    private BigDecimal discountAmount;

    /** 减免总额  (单价-优惠后单价) * 户数 */
    @Excel(name = "减免金额")
    @ApiModelProperty(value = "减免金额")
    private BigDecimal freeAmount;

    /** 实际金额 */
    @Excel(name = "实际金额")
    @ApiModelProperty(value = "实际金额")
    private BigDecimal actuallyAmount;

    /** 委托单外键 */
    @ApiModelProperty(value = "实际金额")
    private Long entrustOrderId;

}
