zss
2023-08-09 38128b9d40636d1387a5614a35d9be6927a5e3e6
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
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 *
 * @TableName specifications
 */
@TableName(value ="specifications")
@Data
public class Specifications implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
     * 规格名称
     */
    private String name;
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    @TableLogic(value = "1", delval = "0")
    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)
    @Version
    private Integer version;
 
    /**
     * 关联 标准id
     */
    private Integer standardId;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}