liding
6 天以前 dce840653b78fc05a732c5c89773c74e15dbed09
src/main/java/com/ruoyi/purchase/pojo/TicketRegistration.java
@@ -1,11 +1,14 @@
package com.ruoyi.purchase.pojo;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
/**
 * 来票登记对象 ticket_registration
@@ -22,7 +25,54 @@
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "来票登记ID")
    private Long id;
    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;
    @ApiModelProperty(value = "发票代码")
    private String invoiceCode;
    @ApiModelProperty(value = "发票类型")
    private String invoiceType;
    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;
    @ApiModelProperty(value = "税额")
    private BigDecimal taxAmount;
    @ApiModelProperty(value = "币种")
    private String currency;
    @ApiModelProperty(value = "发票状态:0草稿,1已登记,2红冲,3作废")
    private Integer invoiceStatus;
    @ApiModelProperty(value = "核验状态:0未核验,1通过,2异常")
    private Integer verificationStatus;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "创建用户ID")
    private Long createUser;
    @ApiModelProperty(value = "更新用户ID")
    private Long updateUser;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "删除标志:0正常,1删除")
    private Integer deleteFlag;
    /**
     * 状态
     */
    @Excel(name = "状态")
    @TableField(exist = false)
    private String statusName;
    /**
     * 采购台账id
@@ -52,16 +102,47 @@
     */
    private String customerName;
    /**
     * 业务员
     */
    @Excel(name = "业务员")
    private String businessPerson;
//    /**
//     * 业务员
//     */
//    @Excel(name = "业务员")
//    private String businessPerson;
//
//    /**
//     * 业务员id
//     */
//    private Long businessPersonId;
    /**
     * 业务员id
     * 发票号
     */
    private Long businessPersonId;
    @Excel(name = "发票号")
    private String invoiceNumber;
    /**
     * 发票金额(元)
     */
    @Excel(name = "发票金额(元)")
    private BigDecimal invoiceAmount;
    /**
     * 开票人ID
     */
    @Excel(name = "开票人")
    private String issUerId;
    /**
     * 开票人
     */
    @Excel(name = "开票人")
    private String issUer;
    /**
     * 开票日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDate issueDate;
    /**
     * 项目名称
@@ -91,7 +172,35 @@
     */
    private Long salesLedgerId;
    /**
     * 合同金额(产品含税总价)
     */
    private BigDecimal contractAmount;
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @ApiModelProperty(value = "已付款总金额")
    @TableField(exist = false)
    @Excel(name = "已付款总金额")
    private BigDecimal paymentAmountTotal;
    @ApiModelProperty(value = "未付款总金额")
    @TableField(exist = false)
    @Excel(name = "未付款总金额")
    private BigDecimal unPaymentAmountTotal;
    @TableField(exist = false)
    private Boolean status;
    @TableField(exist = false)
    private String issueDateStart;
    @TableField(exist = false)
    private String issueDateEnd;
    @TableField(exist = false)
    private String supplierNameOrContractNo;
    @ApiModelProperty(value = "录入时间")
    private LocalDate enterDate;
}