chenhj
2 天以前 9dcd90dc8e329900e6058ac0a3aa44a9e7e04599
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
package com.ruoyi.business.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 入库记录表 实体类
 *
 * @author chenhj
 * @date 2025-06-14
 */
@Data
@TableName("input_inventory_record")
public class InputInventoryRecord implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 库id
     */
    @TableField(value = "inventory_id")
    private Long inventoryId;
    /**
     * 库类型
     */
    @TableField(value = "inventory_type")
    private String inventoryType;
    /**
     * 记录数量
     */
    @TableField(value = "quantity")
    private BigDecimal quantity;
 
    /** 逻辑删除字段 */
    @TableLogic
    private Integer deleted;
 
    /** 创建者 */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
 
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime createTime;
}