package com.ruoyi.sales.pojo; import com.baomidou.mybatisplus.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; @Data @TableName("sales_quotation_product") public class SalesQuotationProduct { @Schema(description = "报价商品ID") @TableId(value = "id", type = IdType.AUTO) private Long id; @Schema(description = "销售报价单id") private Long salesQuotationId; @Schema(description = "商品名称") private String product; @Schema(description = "商品规格") private String specification; @Schema(description = "单位") private String unit; @Schema(description = "单价") private Double unitPrice; @Schema(description = "数量") private Integer quantity; @Schema(description = "金额") private Double amount; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; @TableField(fill = FieldFill.INSERT) private Long deptId; }