package com.ruoyi.inventory.pojo;
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
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
|
@TableName("stock_in")
|
public class StockIn{
|
/**
|
* 入库记录ID
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 产品id
|
*/
|
private Long productId;
|
|
/**
|
* 入库时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date inboundTime;
|
|
/**
|
* 入库批次(如“第三批次”)
|
*/
|
private String inboundBatch;
|
|
/**
|
* 供应商id
|
*/
|
private Long supplierId;
|
/**
|
* 入库数量
|
*/
|
private Integer inboundQuantity;
|
|
|
|
/**
|
* 入库人
|
*/
|
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;
|
|
}
|