yyt
2024-06-26 0cceb649e1dc443c2a91d26d81eacb0867c96db3
提交 | 用户 | 时间
0cceb6 1 package com.jcdm.system.domain;
Y 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 }