package com.njcn.pojo.tiansu;



import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name="TS_Tenant")
public class Tenant implements Serializable {

  @Id
  @Column(name="SuiteId")
  private String suiteid;

  @Column(name="corp_id")
  private String corpId;

  @Column(name="SuiteTicket")
  private String SuteTicket;

  @Column(name="permanent_code")
  private String permanentCode;

  @Column(name="access_token")
  private String accessToken;

  public String getSuiteid() {

    return suiteid;
  }

  public void setSuiteid(String suiteid) {
    this.suiteid = suiteid;
  }

  public String getCorpId() {
    return corpId;
  }

  public void setCorpId(String corpId) {
    this.corpId = corpId;
  }

  public String getSuteTicket() {
    return SuteTicket;
  }

  public void setSuteTicket(String suteTicket) {
    SuteTicket = suteTicket;
  }

  public String getPermanentCode() {
    return permanentCode;
  }

  public void setPermanentCode(String permanentCode) {
    this.permanentCode = permanentCode;
  }

  public String getAccessToken() {
    return accessToken;
  }

  public void setAccessToken(String accessToken) {
    this.accessToken = accessToken;
  }

  @Override
  public String toString() {
    return "Tenant{" +
            "suiteid='" + suiteid + '\'' +
            ", corpId='" + corpId + '\'' +
            ", SuteTicket='" + SuteTicket + '\'' +
            ", permanentCode='" + permanentCode + '\'' +
            ", accessToken='" + accessToken + '\'' +
            '}';
  }
}
