| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.ruoyi.common.core.domain.MyBaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * 采购登记表 实体类 |
| | |
| | | */ |
| | | @Data |
| | | @TableName("purchase_registration") |
| | | @Schema |
| | | public class PurchaseRegistration extends MyBaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * |
| | | * 采购单号 |
| | | */ |
| | | @TableField(value = "purchase_number") |
| | | @Schema(title = "采购单号") |
| | | private String purchaseNumber; |
| | | /** |
| | | * 供应商id |
| | | */ |
| | | @TableField(value = "supplier_id") |
| | | @Schema(title = "供应商id") |
| | | private Long supplierId; |
| | | /** |
| | | * 供应商名称 |
| | | */ |
| | | @TableField(value = "supplier_name") |
| | | @Schema(title = "供应商名称") |
| | | private String supplierName; |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @TableField(value = "unit") |
| | | @Schema(title = "单位") |
| | | private String unit; |
| | | /** |
| | | * |
| | | */ |
| | | @TableField(value = "coal_id") |
| | | @Schema(title = "煤料id") |
| | | private Long coalId; |
| | | |
| | | /** |
| | | * 煤种类型 |
| | | * 煤料名称 |
| | | */ |
| | | @TableField(value = "coal") |
| | | private String coal; |
| | | @TableField(exist = false) |
| | | @Schema(title = "煤料名称") |
| | | private String coalName; |
| | | |
| | | /** |
| | | * 采购数量 |
| | | */ |
| | | @TableField(value = "purchase_quantity") |
| | | @Schema(title = "采购数量") |
| | | private BigDecimal purchaseQuantity; |
| | | /** |
| | | * 单价(含税) |
| | | */ |
| | | @TableField(value = "price_including_tax") |
| | | @Schema(title = "单价(含税)") |
| | | private BigDecimal priceIncludingTax; |
| | | /** |
| | | * 总价(含税) |
| | | */ |
| | | @TableField(value = "total_price_including_tax") |
| | | @Schema(title = "总价(含税)") |
| | | private BigDecimal totalPriceIncludingTax; |
| | | /** |
| | | * 税率 |
| | | */ |
| | | @TableField(value = "tax_rate") |
| | | @Schema(title = "税率") |
| | | private BigDecimal taxRate; |
| | | /** |
| | | * 不含税单价 |
| | | */ |
| | | @TableField(value = "price_excluding_tax") |
| | | @Schema(title = "不含税单价") |
| | | private BigDecimal priceExcludingTax; |
| | | /** |
| | | * 不含税总价 |
| | | */ |
| | | @TableField(value = "total_price_excluding_tax") |
| | | @Schema(title = "不含税总价") |
| | | private BigDecimal totalPriceExcludingTax; |
| | | /** |
| | | * 登记人id |
| | | */ |
| | | @TableField(value = "registrant_id") |
| | | private String registrantId; |
| | | @Schema(title = "登记人id") |
| | | private Long registrantId; |
| | | /** |
| | | * 登记日期 |
| | | */ |
| | | @TableField(value = "registration_date") |
| | | private Date registrationDate; |
| | | @Schema(title = "登记日期") |
| | | private LocalDate registrationDate; |
| | | /** |
| | | * 运费 |
| | | */ |
| | | @TableField(value = "freight") |
| | | @Schema(title = "运费") |
| | | private BigDecimal freight; |
| | | |
| | | /** |
| | | * 类型(1-成品,2-原料) |
| | | */ |
| | | @TableField(value = "type") |
| | | @Schema(title = "类型(1-成品,2-原料)") |
| | | private Integer type; |
| | | /** |
| | | * 采购类型 |
| | | */ |
| | | @TableField(value = "purchase_type") |
| | | private Integer purchaseType; |
| | | |
| | | /** |
| | | * 车牌号 |
| | | */ |
| | | @TableField(value = "license_plate") |
| | | @Schema(title = "车牌号") |
| | | private String licensePlate; |
| | | } |