text: package com.didiglobal.sds.admin.dao.bean;
  
  import java.util.Date;
  
  /**
   * @auther manzhizhen
   * @date 2019/1/19
   */
  public class UserPrivilege {
  
      private Long id;
  
      private String userName;
  
      private String appGroupName;
  
      private String appName;
  
      /**
       * 0-没有读权限，1-有读权限
       */
      private Integer read;
  
      /**
       * 0-没有写权限，1-有写权限
       */
      private Integer write;
  
      private Date createTime;
  
      private Date modifiedTime;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getUserName() {
          return userName;
      }
  
      public void setUserName(String userName) {
          this.userName = userName;
      }
  
      public String getAppGroupName() {
          return appGroupName;
      }
  
      public void setAppGroupName(String appGroupName) {
          this.appGroupName = appGroupName;
      }
  
      public String getAppName() {
          return appName;
      }
  
      public void setAppName(String appName) {
          this.appName = appName;
      }
  
      public Integer getRead() {
          return read;
      }
  
      public void setRead(Integer read) {
          this.read = read;
      }
  
      public Integer getWrite() {
          return write;
      }
  
      public void setWrite(Integer write) {
          this.write = write;
      }
  
      public Date getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(Date createTime) {
          this.createTime = createTime;
      }
  
      public Date getModifiedTime() {
          return modifiedTime;
      }
  
      public void setModifiedTime(Date modifiedTime) {
          this.modifiedTime = modifiedTime;
      }
  
      @Override
      public String toString() {
          final StringBuilder sb = new StringBuilder("UserPrivilege{");
          sb.append("id=").append(id);
          sb.append(", userName='").append(userName).append('\'');
          sb.append(", appGroupName='").append(appGroupName).append('\'');
          sb.append(", appName='").append(appName).append('\'');
          sb.append(", read=").append(read);
          sb.append(", write=").append(write);
          sb.append(", createTime=").append(createTime);
          sb.append(", modifiedTime=").append(modifiedTime);
          sb.append('}');
          return sb.toString();
      }
  }
  