Station.java
1.98 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package com.huaheng.pc.config.station.domain;
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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* Created by Enzo Cotter on 2019/10/11.
*/
@ApiModel(value="com.huaheng.pc.config.station.domain.Station")
@Data
@TableName(value = "station")
public class Station implements Serializable {
@TableId(value = "id", type = IdType.INPUT)
@ApiModelProperty(value="标识")
private Integer id;
/**
* 名称
*/
@TableField(value = "name")
@ApiModelProperty(value="名称")
private String name;
/**
* 编码
*/
@TableField(value = "code")
@ApiModelProperty(value="编码")
private String code;
/**
* 类型
*/
@TableField(value = "type")
@ApiModelProperty(value="类型")
private String type;
/**
* 状态
*/
@TableField(value = "status")
@ApiModelProperty(value="状态")
private Integer status;
/**
* 仓库编码
*/
@TableField(value = "warehouseCode")
@ApiModelProperty(value="仓库编码")
private String warehouseCode;
/**
* 创建时间
*/
@TableField(value = "created")
@ApiModelProperty(value="创建时间")
private Date created;
/**
* 创建者
*/
@TableField(value = "createdBy")
@ApiModelProperty(value="创建者")
private String createdBy;
/**
* 更新时间
*/
@TableField(value = "lastUpdated")
@ApiModelProperty(value="更新时间")
private Date lastUpdated;
/**
* 更新者
*/
@TableField(value = "lastUpdatedBy")
@ApiModelProperty(value="更新者")
private String lastUpdatedBy;
private static final long serialVersionUID = 1L;
}