SysUserWarehouse.java
1.32 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
package com.huaheng.system.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;
@ApiModel(value = "用户与仓库关系")
@Data
@TableName(value = "sys_user_warehouse")
public class SysUserWarehouse implements Serializable {
/**
* id
*/
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value = "id")
private Integer id;
/**
* 用户id
*/
@TableField(value = "userId")
@ApiModelProperty(value = "用户id")
private Long userId;
/**
* 仓库id
*/
@TableField(value = "warehouseId")
@ApiModelProperty(value = "仓库id")
private Integer warehouseId;
/**
* 仓库编码
*/
@TableField(value = "warehouseCode")
@ApiModelProperty(value = "仓库编码")
private String warehouseCode;
private static final long serialVersionUID = 1L;
public static final String COL_USERID = "userId";
public static final String COL_WAREHOUSEID = "warehouseId";
public static final String COL_WAREHOUSECODE = "warehouseCode";
}