| | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Data |
| | |
| | | @Schema(description = "产品Id") |
| | | @TableField(value = "product_id") |
| | | private Long productId; |
| | | @Schema(description = "产品规格Id") |
| | | @TableField(value = "product_model_id") |
| | | private Long productModelId; |
| | | @Schema(description = "商品名称") |
| | | private String product; |
| | | @Schema(description = "商品规格") |
| | |
| | | @Schema(description = "单位") |
| | | private String unit; |
| | | @Schema(description = "单价") |
| | | private Double unitPrice; |
| | | private BigDecimal unitPrice; |
| | | @Schema(description = "数量") |
| | | private Integer quantity; |
| | | @Schema(description = "金额") |
| | | private Double amount; |
| | | private BigDecimal amount; |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private LocalDateTime createTime; |