提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.rest.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
5 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
7 |
|
|
8 |
import java.io.Serializable; |
|
9 |
|
|
10 |
/** |
|
11 |
* <p> |
|
12 |
* 用户职位关联表 |
|
13 |
* </p> |
|
14 |
* |
|
15 |
* @author stylefeng |
|
16 |
* @since 2019-06-28 |
|
17 |
*/ |
|
18 |
@TableName("sys_user_pos") |
|
19 |
public class RestUserPos implements Serializable { |
|
20 |
|
|
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
/** |
|
24 |
* 主键id |
|
25 |
*/ |
|
26 |
@TableId(value = "user_pos_id", type = IdType.ID_WORKER) |
|
27 |
private Long userPosId; |
|
28 |
|
|
29 |
/** |
|
30 |
* 用户id |
|
31 |
*/ |
|
32 |
@TableField("user_id") |
|
33 |
private Long userId; |
|
34 |
|
|
35 |
/** |
|
36 |
* 职位id |
|
37 |
*/ |
|
38 |
@TableField("pos_id") |
|
39 |
private Long posId; |
|
40 |
|
|
41 |
|
|
42 |
public Long getUserPosId() { |
|
43 |
return userPosId; |
|
44 |
} |
|
45 |
|
|
46 |
public void setUserPosId(Long userPosId) { |
|
47 |
this.userPosId = userPosId; |
|
48 |
} |
|
49 |
|
|
50 |
public Long getUserId() { |
|
51 |
return userId; |
|
52 |
} |
|
53 |
|
|
54 |
public void setUserId(Long userId) { |
|
55 |
this.userId = userId; |
|
56 |
} |
|
57 |
|
|
58 |
public Long getPosId() { |
|
59 |
return posId; |
|
60 |
} |
|
61 |
|
|
62 |
public void setPosId(Long posId) { |
|
63 |
this.posId = posId; |
|
64 |
} |
|
65 |
|
|
66 |
@Override |
|
67 |
public String toString() { |
|
68 |
return "UserPos{" + |
|
69 |
"userPosId=" + userPosId + |
|
70 |
", userId=" + userId + |
|
71 |
", posId=" + posId + |
|
72 |
"}"; |
|
73 |
} |
|
74 |
} |