package com.ruoyi.purchase.pojo;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import lombok.Data;
|
|
/**
|
* 来票登记对象 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 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;
|
|
}
|