| | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.hibernate.annotations.Table; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | |
| | | * @date 2025-03-24 17:13:08 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @TableName("purchase_winning_letter") |
| | | @EqualsAndHashCode(callSuper = true) |
| | | @Schema(description = "中标通知书") |
| | | @javax.persistence.Table(name = "purchase_winning_letter") |
| | | @Table(appliesTo = "purchase_winning_letter", comment = "中标通知") |
| | | public class PurchaseWinningLetterEntity extends BaseModel<PurchaseWinningLetterEntity> { |
| | | |
| | | /** |
| | | * 中标通知书编码 |
| | | */ |
| | | @Schema(description="中标通知书编码") |
| | | @Column(columnDefinition="varchar(100) comment '中标通知书编码'") |
| | | private String winningCode; |
| | | |
| | | /** |
| | | * 采购计划编号 |
| | | */ |
| | | @Schema(description="采购计划编号") |
| | | private String purchasePlanCode; |
| | | @Column(columnDefinition="varchar(100) comment '采购计划编号'") |
| | | private String purchasePlanCode; |
| | | |
| | | /** |
| | | * 设备编码 |
| | | */ |
| | | @Schema(description="设备编码") |
| | | @Column(columnDefinition="varchar(256) comment '设备编码'") |
| | | private String deviceCode; |
| | | |
| | | /** |
| | | * 设备名称 |
| | | */ |
| | | @Schema(description="设备名称") |
| | | @Column(columnDefinition="varchar(256) comment '设备名称'") |
| | | private String deviceName; |
| | | |
| | | /** |
| | | * 规格型号 |
| | | */ |
| | | @Schema(description="规格型号") |
| | | @Column(columnDefinition="varchar(256) comment '规格型号'") |
| | | private String deviceModels; |
| | | |
| | | /** |
| | | * 关键参数 |
| | | */ |
| | | @Schema(description="关键参数") |
| | | @Column(columnDefinition="varchar(256) comment '关键参数'") |
| | | private String keyParameter; |
| | | |
| | | /** |
| | | * 到货月份 |
| | | */ |
| | | @Schema(description="到货月份") |
| | | @Column(columnDefinition="int comment '到货月份'") |
| | | private Integer arrivalMonth; |
| | | |
| | | /** |
| | | * 数量 |
| | | */ |
| | | @Schema(description="数量") |
| | | @Column(columnDefinition="int comment '数量'") |
| | | private Integer quantity; |
| | | |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @Schema(description="单位") |
| | | @Column(columnDefinition="varchar(32) comment '单位'") |
| | | private String unit; |
| | | |
| | | /** |
| | | * 中标单价 /分 |
| | | */ |
| | | @Schema(description="中标单价 /分") |
| | | @Column(columnDefinition="DECIMAL(10,0) comment '中标单价 /分'") |
| | | private Integer winningPrice; |
| | | |
| | | /** |
| | | * 中标总额 /分 |
| | | */ |
| | | @Schema(description="中标总额 /分") |
| | | @Column(columnDefinition="DECIMAL(10,0) comment '中标总额 /分'") |
| | | private Integer totalWinningAmount; |
| | | |
| | | /** |
| | | * 拟使用地点 |
| | | */ |
| | | @Schema(description="拟使用地点") |
| | | @Column(columnDefinition="varchar(256) comment '拟使用地点'") |
| | | private String locationUsed; |
| | | |
| | | /** |
| | | * 中标厂家 |
| | | */ |
| | | @Schema(description="中标厂家") |
| | | @Column(columnDefinition="varchar(100) comment '中标厂家'") |
| | | private String winningBidder; |
| | | |
| | | /** |
| | | * 申请人 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @Schema(description="申请人") |
| | | private String createBy; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @Schema(description="创建时间") |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * 修改人 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @Schema(description="修改人") |
| | | private String updateBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @Schema(description="修改时间") |
| | | private LocalDateTime updateTime; |
| | | |
| | | /** |
| | | * delFlag |
| | | */ |
| | | @TableLogic |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @Schema(description="delFlag") |
| | | private String delFlag; |
| | | * 中标厂家ID |
| | | */ |
| | | @Schema(description="中标厂家") |
| | | @Column(columnDefinition="bigint comment '使用公司'") |
| | | private Long winningManufacturerId; |
| | | } |