package com.ruoyi.purchase.pojo;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
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 java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
import java.util.List;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Getter;
|
import lombok.Setter;
|
|
/**
|
* <p>
|
* 采购台账模板
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-01-26 11:21:44
|
*/
|
@Getter
|
@Setter
|
@TableName("purchase_ledger_template")
|
@Schema(name = "PurchaseLedgerTemplate对象", description = "采购台账模板")
|
public class PurchaseLedgerTemplate implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Schema(description = "自增主键ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
@Schema(description = "采购合同号")
|
private String purchaseContractNumber;
|
|
@Schema(description = "供应商名称id")
|
private Long supplierId;
|
|
@Schema(description = "供应商名称")
|
private String supplierName;
|
|
@Schema(description = "录入人id")
|
private Integer recorderId;
|
|
@Schema(description = "录入人姓名")
|
private String recorderName;
|
|
@Schema(description = "销售合同号")
|
private String salesContractNo;
|
|
@Schema(description = "项目名称")
|
private String projectName;
|
|
@Schema(description = "录入日期")
|
private Date entryDate;
|
|
@Schema(description = "备注")
|
private String remarks;
|
|
@Schema(description = "记录创建时间")
|
private Date createdAt;
|
|
@Schema(description = "记录最后更新时间")
|
private Date updatedAt;
|
|
@Schema(description = "关联销售台账主表主键")
|
private Integer salesLedgerId;
|
|
@Schema(description = "合同金额")
|
private BigDecimal contractAmount;
|
|
@Schema(description = "业务员")
|
private String businessPerson;
|
|
@Schema(description = "业务员id")
|
private Integer businessPersonId;
|
|
@Schema(description = "录入人电话")
|
private String phoneNumber;
|
|
private String paymentMethod;
|
|
private Date executionDate;
|
|
@Schema(description = "模板名称")
|
private String templateName;
|
|
@TableField(exist = false)
|
private List<SalesLedgerProductTemplate> productList;
|
@Schema(description = "创建用户")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
}
|