| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.core.domain.MyBaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("official_inventory") |
| | | @Schema |
| | | public class OfficialInventory extends MyBaseEntity { |
| | | |
| | | /** |
| | |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * |
| | | * 采购单号 |
| | | */ |
| | | @TableField(value = "purchase_number") |
| | | @Schema(title = "采购单号") |
| | | private String purchaseNumber; |
| | | /** |
| | | * 待入库id |
| | | */ |
| | | @TableField(value = "pending_id") |
| | | @Schema(title = "待入库id") |
| | | private Long pendingId; |
| | | /** |
| | | * 供货商ID |
| | | */ |
| | | @TableField(value = "supplier_id") |
| | | @Schema(title = "供货商ID") |
| | | private Long supplierId; |
| | | /** |
| | | * 编号 |
| | |
| | | * 煤料类型 1-成品 2-原料 |
| | | */ |
| | | @TableField(value = "type") |
| | | @Schema(title = "煤料类型 1-成品 2-原料") |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 煤种 |
| | | */ |
| | | @TableField(value = "coal_id") |
| | | @Schema(title = "煤种") |
| | | private Long coalId; |
| | | |
| | | /** |
| | | * 煤种名称 |
| | | */ |
| | | @TableField(exist = false) |
| | | @Schema(title = "煤种名称") |
| | | private String coalName; |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @TableField(value = "unit") |
| | | @Schema(title = "单位") |
| | | private String unit; |
| | | /** |
| | | * 库存数量 |
| | | */ |
| | | @TableField(value = "inventory_quantity") |
| | | @Schema(title = "库存数量") |
| | | private BigDecimal inventoryQuantity; |
| | | /** |
| | | * 单价(含税) |
| | | */ |
| | | @TableField(value = "price_including_tax") |
| | | @Schema(title = "单价(含税)") |
| | | private BigDecimal priceIncludingTax; |
| | | /** |
| | | * 总价(含税) |
| | | */ |
| | | @TableField(value = "total_price_including_tax") |
| | | @Schema(title = "总价(含税)") |
| | | private BigDecimal totalPriceIncludingTax; |
| | | /** |
| | | * 不含税单价 |
| | | */ |
| | | @TableField(value = "price_excluding_tax") |
| | | @Schema(title = "不含税单价") |
| | | private BigDecimal priceExcludingTax; |
| | | /** |
| | | * 不含税总价 |
| | | */ |
| | | @TableField(value = "total_price_excluding_tax") |
| | | @Schema(title = "不含税总价") |
| | | private BigDecimal totalPriceExcludingTax; |
| | | /** |
| | | * 待补库 |
| | | */ |
| | | @TableField(value = "pending_replenishment") |
| | | @Schema(title = "待补库") |
| | | private BigDecimal pendingReplenishment; |
| | | /** |
| | | * 登记人id |
| | | */ |
| | | @TableField(value = "registrant_id") |
| | | @Schema(title = "登记人id") |
| | | private Long registrantId; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @TableField(value = "registration_date") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Schema(title = "登记日期") |
| | | private LocalDate registrationDate; |
| | | |
| | | /** |
| | | * 煤质方案id |
| | | */ |
| | | @TableField(value = "coal_plan_id") |
| | | @Schema(title = "煤质方案id") |
| | | private Long coalPlanId; |
| | | |
| | | /** |
| | | * 合并id |
| | | */ |
| | | @TableField(value = "merge_id") |
| | | @Schema(title = "合并id") |
| | | private String mergeId; |
| | | } |