package com.newvideo.domain; import javax.persistence.Entity; import javax.persistence.ManyToOne; import com.google.gson.annotations.Expose; /** * 大系统下面的分系统 * * @author Administrator * */ @Entity public class DetailSystem { public DetailSystem(String id) { this.id = id; } public DetailSystem() { } @Expose private String id; @ManyToOne @Expose private SystemInfo system; public SystemInfo getSystem() { return system; } public void setSystem(SystemInfo system) { this.system = system; } @Expose private String packageName; @Expose private String createtime; @ManyToOne private AdminInfo info; @Expose private String appName; @Expose private String beizhu; private String umengAppKey; @Expose private String iosUmengAppKey; private String umengMasterKey; @Expose private String iosUmengMasterKey; @Expose private int platform;// 1-Android 2-IOS private boolean appStoreIng;// 是否正在上传应用市场 private int appStoreVersion;// 上传版本 @Expose private String sohuPartner; @Expose private String sohuKey; @Expose private boolean showAd; public boolean isShowAd() { return showAd; } public void setShowAd(boolean showAd) { this.showAd = showAd; } public String getSohuPartner() { return sohuPartner; } public void setSohuPartner(String sohuPartner) { this.sohuPartner = sohuPartner; } public String getSohuKey() { return sohuKey; } public void setSohuKey(String sohuKey) { this.sohuKey = sohuKey; } public boolean isAppStoreIng() { return appStoreIng; } public void setAppStoreIng(boolean appStoreIng) { this.appStoreIng = appStoreIng; } public int getAppStoreVersion() { return appStoreVersion; } public void setAppStoreVersion(int appStoreVersion) { this.appStoreVersion = appStoreVersion; } public int getPlatform() { return platform; } public void setPlatform(int platform) { this.platform = platform; } public String getUmengAppKey() { return umengAppKey; } public void setUmengAppKey(String umengAppKey) { this.umengAppKey = umengAppKey; } public String getUmengMasterKey() { return umengMasterKey; } public void setUmengMasterKey(String umengMasterKey) { this.umengMasterKey = umengMasterKey; } public String getIosUmengAppKey() { return iosUmengAppKey; } public void setIosUmengAppKey(String iosUmengAppKey) { this.iosUmengAppKey = iosUmengAppKey; } public String getIosUmengMasterKey() { return iosUmengMasterKey; } public void setIosUmengMasterKey(String iosUmengMasterKey) { this.iosUmengMasterKey = iosUmengMasterKey; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getPackageName() { return packageName; } public void setPackageName(String packageName) { this.packageName = packageName; } public String getCreatetime() { return createtime; } public void setCreatetime(String createtime) { this.createtime = createtime; } public AdminInfo getInfo() { return info; } public void setInfo(AdminInfo info) { this.info = info; } public String getAppName() { return appName; } public void setAppName(String appName) { this.appName = appName; } public String getBeizhu() { return beizhu; } public void setBeizhu(String beizhu) { this.beizhu = beizhu; } @Override public String toString() { return "DetailSystem [id=" + id + ", system=" + system + ", packageName=" + packageName + ", createtime=" + createtime + ", info=" + info + ", appName=" + appName + ", beizhu=" + beizhu + ", umengAppKey=" + umengAppKey + ", iosUmengAppKey=" + iosUmengAppKey + ", umengMasterKey=" + umengMasterKey + ", iosUmengMasterKey=" + iosUmengMasterKey + ", platform=" + platform + ", appStoreIng=" + appStoreIng + ", appStoreVersion=" + appStoreVersion + ", sohuPartner=" + sohuPartner + ", sohuKey=" + sohuKey + "]"; } }