Blame view

ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserPost.java 912 Bytes
cee572f2   RuoYi   若依 3.0
1
  package com.ruoyi.system.domain;

46444bd0   RuoYi   RuoYi-Vue 1.0
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
  

  import org.apache.commons.lang3.builder.ToStringBuilder;

  import org.apache.commons.lang3.builder.ToStringStyle;

  

  /**

   * 用户和岗位关联 sys_user_post

   * 

   * @author ruoyi

   */

  public class SysUserPost

  {

      /** 用户ID */

      private Long userId;

      

      /** 岗位ID */

      private Long postId;

  

      public Long getUserId()

      {

          return userId;

      }

  

      public void setUserId(Long userId)

      {

          this.userId = userId;

      }

  

      public Long getPostId()

      {

          return postId;

      }

  

      public void setPostId(Long postId)

      {

          this.postId = postId;

      }

  

      @Override

      public String toString() {

          return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

              .append("userId", getUserId())

              .append("postId", getPostId())

              .toString();

      }

  }