zss
2025-02-18 bcc80a6833abe9f24abdb978f7c7f01b664a574f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
 
/**
 * 货架
 * @TableName warehouse_shelf
 */
@TableName(value ="warehouse_shelf")
@Data
public class WarehouseShelf implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
     * 货架名称
     */
    private String name;
 
    /**
     * 行
     */
    @TableField("`row`")
    private Integer row;
 
    /**
     * 列
     */
    @TableField("`col`")
    private Integer col;
 
    /**
     *
     */
    @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 warehouseId;
 
    @TableField(select = false,exist = false)
    List<WarehouseCell> warehouseCellList;
}