懒羊羊
2024-04-11 505237e928b3518483f3a49080a4e0b266bd7e7d
提交 | 用户 | 时间
e57a89 1 package com.jcdm.system.domain;
2
3 import org.apache.commons.lang3.builder.ToStringBuilder;
4 import org.apache.commons.lang3.builder.ToStringStyle;
5
6 /**
7  * 用户和岗位关联 sys_user_post
8  * 
9  * @author jc
10  */
11 public class SysUserPost
12 {
13     /** 用户ID */
14     private Long userId;
15     
16     /** 岗位ID */
17     private Long postId;
18
19     public Long getUserId()
20     {
21         return userId;
22     }
23
24     public void setUserId(Long userId)
25     {
26         this.userId = userId;
27     }
28
29     public Long getPostId()
30     {
31         return postId;
32     }
33
34     public void setPostId(Long postId)
35     {
36         this.postId = postId;
37     }
38
39     @Override
40     public String toString() {
41         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
42             .append("userId", getUserId())
43             .append("postId", getPostId())
44             .toString();
45     }
46 }