| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- package com.ydtech.modules.inv.model;
- import cn.afterturn.easypoi.excel.annotation.Excel;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.ydtech.modules.base.model.BaseEntity;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * 发票信息
- *
- * @TableName inv_invoice_info
- */
- @TableName(value = "inv_invoice_info")
- @Data
- public class InvInvoiceInfo extends BaseEntity implements Serializable {
- /**
- * ID
- */
- @TableId(value = "id", type = IdType.ASSIGN_ID)
- private String id;
- /**
- * 开票员
- */
- @Excel(name = "开票员")
- @ApiModelProperty(value = "开票员")
- @TableField(value = "invoice_clerk")
- private String invoiceClerk;
- /**
- * 开票科目ID
- */
- @ApiModelProperty(value = "开票科目ID")
- @TableField(value = "subjects_id")
- private String subjectsId;
- /**
- * 开票科目
- */
- @Excel(name = "开票科目")
- @ApiModelProperty(value = "开票科目")
- @TableField(value = "subjects")
- private String subjects;
- /**
- * 开票方ID
- */
- @ApiModelProperty(value = "开票方ID")
- @TableField(value = "inv_company_id")
- private String invCompanyId;
- /**
- * 开票方
- */
- @Excel(name = "开票方")
- @ApiModelProperty(value = "开票方")
- @TableField(value = "inv_company_name")
- private String invCompanyName;
- /**
- * 对方单位名称
- */
- @Excel(name = "对方单位名称")
- @ApiModelProperty(value = "对方单位名称")
- @TableField(value = "peer_company_name")
- private String peerCompanyName;
- /**
- * 发票号码
- */
- @Excel(name = "发票号码")
- @ApiModelProperty(value = "发票号码")
- @TableField(value = "invoice_num")
- private String invoiceNum;
- /**
- * 发票数
- */
- @Excel(name = "发票数")
- @ApiModelProperty(value = "发票数")
- @TableField(value = "invoice_quantity")
- private Integer invoiceQuantity;
- /**
- * 开票日期
- */
- @Excel(name = "开票日期",exportFormat = "yyyy-MM-dd")
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
- @ApiModelProperty(value = "开票日期")
- @TableField(value = "invoice_date")
- private Date invoiceDate;
- /**
- * 不含税金额
- */
- @Excel(name = "不含税金额")
- @ApiModelProperty(value = "不含税金额")
- @TableField(value = "tax_exclusive_price")
- private BigDecimal taxExclusivePrice;
- /**
- * 税率
- */
- @Excel(name = "税率")
- @ApiModelProperty(value = "税率")
- @TableField(value = "tax_rate")
- private String taxRate;
- /**
- * 税额
- */
- @Excel(name = "税额")
- @ApiModelProperty(value = "税额")
- @TableField(value = "tax_amounts")
- private BigDecimal taxAmounts;
- /**
- * 开票金额
- */
- @Excel(name = "开票金额")
- @ApiModelProperty(value = "开票金额")
- @TableField(value = "invoice_amount")
- private BigDecimal invoiceAmount;
- /**
- * 发票类型
- */
- @Excel(name = "发票类型")
- @ApiModelProperty(value = "发票类型")
- @TableField(value = "invoice_type")
- private String invoiceType;
- /**
- * 未进账金额
- */
- @Excel(name = "未进账金额")
- @ApiModelProperty(value = "未进账金额")
- @TableField(value = "not_income_money")
- private BigDecimal notIncomeMoney;
- /**
- * 利润点
- */
- @Excel(name = "利润点")
- @ApiModelProperty(value = "利润点")
- @TableField(value = "profit_point")
- private String profitPoint;
- /**
- * 毛利润
- */
- @Excel(name = "毛利润")
- @ApiModelProperty(value = "毛利润")
- @TableField(value = "gross_profit")
- private String grossProfit;
- /**
- * 手续费
- */
- @Excel(name = "手续费")
- @ApiModelProperty(value = "手续费")
- @TableField(value = "procedure_fee")
- private String procedureFee;
- /**
- * 审批状态
- * 审批状态 0 申请审核 1 审核通过 2 审核不通过 3 退回修改
- */
- @ApiModelProperty(value = "审批状态 0 申请审核 1 审核通过 2 审核不通过 3 退回修改")
- @TableField(value = "approval_status")
- private String approvalStatus;
- /**
- * 备注
- */
- @ApiModelProperty(value = "备注")
- @TableField(value = "remark")
- private String remark;
- @ApiModelProperty(value = "类型(1 外部合同开票、2手续费开票)")
- @TableField(value = "type")
- private int type;
- @Excel(name = "已提利润")
- @ApiModelProperty(value = "已提利润")
- @TableField(value = "profit_applied")
- private BigDecimal profitApplied;
- @Excel(name = "未出账金额")
- @ApiModelProperty(value = "未出账金额")
- @TableField(value = "not_out_money")
- private BigDecimal notOutMoney;
- @Excel(name = "利润合计")
- @ApiModelProperty(value = "利润合计")
- @TableField(value = "total_profit")
- private BigDecimal totalProfit;
- @TableField(exist = false)
- private static final long serialVersionUID = 1L;
- }
|