lxw
2023-05-25 f3c27fb78447449a950ba73c5e72ceda64ad8a12
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
 
import java.util.Date;
 
@Data
@ApiModel("电池备件记录")
@TableName(schema = "db_battinf" ,value = "tb_battspare_record")
public class BattSpareRecord {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**备件id*/
    private Integer spareId;
    /**出入库 数量*/
    private Integer operationNum;
    /**出入库 类型:-1,出库;1,入库;0,初始化库存*/
    private Integer operationType;
    /**出入库 时间*/
    private Date operationTime;
    /**当前库存数量*/
    private Integer spareNum;
 
    /**事件信息*/
    @TableField(exist = false)
    private String eventInfo;
}