| | |
| | | package com.ruoyi.inventory.pojo; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * |
| | | * @TableName stock_in |
| | | */ |
| | | @Data |
| | | public class StockIn implements Serializable { |
| | | @TableName("stock_in") |
| | | public class StockIn{ |
| | | /** |
| | | * 入库记录ID |
| | | */ |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 产品id |
| | | */ |
| | | private Integer productId; |
| | | private Long productId; |
| | | |
| | | /** |
| | | * 入库时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date inboundTime; |
| | | |
| | | /** |
| | |
| | | private String inboundBatch; |
| | | |
| | | /** |
| | | * 供应商名称 |
| | | * 供应商id |
| | | */ |
| | | private String supplierName; |
| | | |
| | | private Long supplierId; |
| | | /** |
| | | * 入库数量 |
| | | */ |
| | | private Integer inboundQuantity; |
| | | |
| | | /** |
| | | * 含税单价 |
| | | */ |
| | | private BigDecimal taxInclusivePrice; |
| | | |
| | | /** |
| | | * 含税总价 |
| | | */ |
| | | private BigDecimal taxInclusiveTotal; |
| | | |
| | | /** |
| | | * 税率 |
| | | */ |
| | | private BigDecimal taxRate; |
| | | |
| | | /** |
| | | * 不含税总价 |
| | | */ |
| | | private BigDecimal taxExclusiveTotal; |
| | | |
| | | /** |
| | | * 入库人 |
| | | */ |
| | | private String inboundPerson; |
| | | // tenant_id |
| | | /** |
| | | * 租户ID |
| | | */ |
| | | @ApiModelProperty(value = "租户ID") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | private List<StockProduct> stockProducts; |
| | | // private List<StockProduct> stockProducts; |
| | | |
| | | } |