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