package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
/**
|
* 出入库记录
|
* @TableName warehouse_history
|
*/
|
@TableName(value ="warehouse_history")
|
@Data
|
public class WarehouseHistory implements Serializable {
|
/**
|
*
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
private String warehouseCode;
|
|
/**
|
* 外键:样品id
|
*/
|
private Integer insSampleId;
|
|
/**
|
* 状态:1:入库 2:出库
|
*/
|
private Integer state;
|
|
/**
|
*
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
|
/**
|
* 外键:单元格id
|
*/
|
private Integer cellId;
|
}
|