package com.ruoyi.purchase.pojo; 
 | 
  
 | 
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 
 | 
 * 
 | 
 * @author ruoyi 
 | 
 * @date 2025-05-13 
 | 
 */ 
 | 
@Data 
 | 
@TableName("ticket_registration") 
 | 
public class TicketRegistration{ 
 | 
    private static final long serialVersionUID = 1L; 
 | 
  
 | 
    /** 
 | 
     * 主键ID 
 | 
     */ 
 | 
    @TableId(value = "id", type = IdType.AUTO) 
 | 
    private Long id; 
 | 
  
 | 
    /** 
 | 
     * 采购台账id 
 | 
     */ 
 | 
    private Long purchaseLedgerId; 
 | 
  
 | 
    /** 
 | 
     * 采购合同号 
 | 
     */ 
 | 
    @Excel(name = "采购合同号") 
 | 
    private String purchaseContractNumber; 
 | 
  
 | 
    /** 
 | 
     * 销售合同号 
 | 
     */ 
 | 
    @Excel(name = "销售合同号") 
 | 
    private String salesContractNo; 
 | 
  
 | 
    /** 
 | 
     * 供应商名称 
 | 
     */ 
 | 
    @Excel(name = "供应商名称") 
 | 
    private String supplierName; 
 | 
  
 | 
    /** 
 | 
     * 客户名称 
 | 
     */ 
 | 
    private String customerName; 
 | 
  
 | 
//    /** 
 | 
//     * 业务员 
 | 
//     */ 
 | 
//    @Excel(name = "业务员") 
 | 
//    private String businessPerson; 
 | 
// 
 | 
//    /** 
 | 
//     * 业务员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; 
 | 
  
 | 
    /** 
 | 
     * 项目名称 
 | 
     */ 
 | 
    @Excel(name = "项目名称") 
 | 
    private String projectName; 
 | 
  
 | 
    /** 
 | 
     * 产品信息 
 | 
     */ 
 | 
    private Long productId; 
 | 
  
 | 
    /** 
 | 
     * 创建时间 
 | 
     */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    private Date createdAt; 
 | 
  
 | 
    /** 
 | 
     * 更新时间 
 | 
     */ 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd") 
 | 
    private Date updatedAt; 
 | 
  
 | 
    /** 
 | 
     * 关联销售台账主表主键 
 | 
     */ 
 | 
    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; 
 | 
} 
 |