XiaoRuby
2023-07-25 653cbd6bc42565dbdcc7fdbe652874738b1908df
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
66
67
68
69
70
71
72
73
package com.yuanchu.limslaboratory.pojo;
 
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
/**
 * <p>
 *
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Material对象", description="")
public class Material implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "物料id", example = "152453211563212", required = true)
    private String id;
 
    @ApiModelProperty(value = "物料名称", example = "石头", required = true)
    private String name;
 
    @ApiModelProperty(value = "供应商", example = "百度", required = true)
    private String supplier;
 
    @ApiModelProperty(value = "物料存放地", example = "仓库一,二号架", required = true)
    private String location;
 
    @ApiModelProperty(value = "物料数量", example = "200", required = true)
    private Integer num;
 
    @ApiModelProperty(value = "批次", example = "1", required = true)
    private String batch;
 
    @ApiModelProperty(value = "盘号", example = "152453211563212", required = true)
    private String reelNumber;
 
    @TableLogic(value = "1", delval = "0")
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
 
    @ApiModelProperty(value = "乐观锁", hidden = true)
    private Integer version;
 
    @ApiModelProperty(value = "关联 规格id", example = "1", required = true)
    private Integer specificationsId;
 
}