package com.yeshi.fanli.entity.system;
|
|
import java.io.Serializable;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
/**
|
* 业务系统
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
@Table(name = "yeshi_ec_system")
|
@org.yeshi.utils.mybatis.Table("yeshi_ec_system")
|
public class BusinessSystem implements Serializable{
|
private static final long serialVersionUID = 2735576110255715412L;
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "id")
|
@org.yeshi.utils.mybatis.Column(name="id")
|
private Long id;
|
|
|
|
@org.yeshi.utils.mybatis.Column(name="name")
|
@Column(name = "`name`", length = 50)
|
private String name;
|
|
@org.yeshi.utils.mybatis.Column(name="platform")
|
private Integer platform;// 1-Android 2-IOS 3-web
|
|
@org.yeshi.utils.mybatis.Column(name="createtime")
|
private Long createtime;
|
|
@org.yeshi.utils.mybatis.Column(name="beizhu")
|
@Column(name = "`beizhu`", length = 256)
|
private String beizhu;
|
|
@org.yeshi.utils.mybatis.Column(name="package_name")
|
@Column(name = "`package_name`", length = 50)
|
private String packageName;// Android包名或IOS bundleid
|
|
@org.yeshi.utils.mybatis.Column(name="appid")
|
private String appid;
|
|
@Transient
|
private int check;//判断是否选中: 1选中 0 未选中
|
|
|
|
public BusinessSystem() {
|
}
|
|
public BusinessSystem(Long id) {
|
super();
|
this.id = id;
|
}
|
|
public BusinessSystem(String name, int platform, long createtime, String beizhu,
|
String packageName) {
|
super();
|
this.name = name;
|
this.platform = platform;
|
this.createtime = createtime;
|
this.beizhu = beizhu;
|
this.packageName = packageName;
|
}
|
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Integer getPlatform() {
|
return platform;
|
}
|
|
public void setPlatform(Integer platform) {
|
this.platform = platform;
|
}
|
|
public Long getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(Long createtime) {
|
this.createtime = createtime;
|
}
|
|
public String getAppid() {
|
return appid;
|
}
|
|
public void setAppid(String appid) {
|
this.appid = appid;
|
}
|
|
public String getPackageName() {
|
return packageName;
|
}
|
|
public void setPackageName(String packageName) {
|
this.packageName = packageName;
|
}
|
|
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
public int getCheck() {
|
return check;
|
}
|
|
public void setCheck(int check) {
|
this.check = check;
|
}
|
|
|
}
|