admin
2024-10-16 62a447d89331aee1feae7724c7616aa1bb2cfe79
fanli/src/main/java/com/yeshi/fanli/entity/system/BusinessSystem.java
@@ -1,175 +1,161 @@
package com.yeshi.fanli.entity.system;
import com.yeshi.fanli.entity.SystemEnum;
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
 */
@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;
    @org.yeshi.utils.mybatis.Column(name = "system")
    private SystemEnum system;//系统
    @org.yeshi.utils.mybatis.Column(name = "wx_app_id")
    private String wxAppId;
    @org.yeshi.utils.mybatis.Column(name = "wx_app_secret")
    private String wxAppSecret;
    public String getWxAppId() {
        return wxAppId;
    }
    public void setWxAppId(String wxAppId) {
        this.wxAppId = wxAppId;
    }
    public String getWxAppSecret() {
        return wxAppSecret;
    }
    public void setWxAppSecret(String wxAppSecret) {
        this.wxAppSecret = wxAppSecret;
    }
    @Transient
    private int check;//判断是否选中: 1选中  0 未选中
    public BusinessSystem() {
    }
    public BusinessSystem(Long id) {
        super();
        this.id = id;
    }
    public SystemEnum getSystem() {
        return system;
    }
    public void setSystem(SystemEnum system) {
        this.system = system;
    }
    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;
    }
}
package com.yeshi.fanli.entity.system;
import com.yeshi.fanli.entity.SystemEnum;
import org.springframework.data.annotation.Transient;
import java.io.Serializable;
/**
 * 业务系统
 *
 * @author Administrator
 */
@org.yeshi.utils.generater.mybatis.Table("yeshi_ec_system")
public class BusinessSystem implements Serializable {
    private static final long serialVersionUID = 2735576110255715412L;
    @org.yeshi.utils.generater.mybatis.Column(name = "id")
    private Long id;
    @org.yeshi.utils.generater.mybatis.Column(name = "name")
    private String name;
    @org.yeshi.utils.generater.mybatis.Column(name = "platform")
    private Integer platform;// 1-Android 2-IOS 3-web
    @org.yeshi.utils.generater.mybatis.Column(name = "createtime")
    private Long createtime;
    @org.yeshi.utils.generater.mybatis.Column(name = "beizhu")
    private String beizhu;
    @org.yeshi.utils.generater.mybatis.Column(name = "package_name")
    private String packageName;// Android包名或IOS bundleid
    @org.yeshi.utils.generater.mybatis.Column(name = "appid")
    private String appid;
    @org.yeshi.utils.generater.mybatis.Column(name = "system")
    private SystemEnum system;//系统
    @org.yeshi.utils.generater.mybatis.Column(name = "wx_app_id")
    private String wxAppId;
    @org.yeshi.utils.generater.mybatis.Column(name = "wx_app_secret")
    private String wxAppSecret;
    public String getWxAppId() {
        return wxAppId;
    }
    public void setWxAppId(String wxAppId) {
        this.wxAppId = wxAppId;
    }
    public String getWxAppSecret() {
        return wxAppSecret;
    }
    public void setWxAppSecret(String wxAppSecret) {
        this.wxAppSecret = wxAppSecret;
    }
    @Transient
    private int check;//判断是否选中: 1选中  0 未选中
    public BusinessSystem() {
    }
    public BusinessSystem(Long id) {
        super();
        this.id = id;
    }
    public SystemEnum getSystem() {
        return system;
    }
    public void setSystem(SystemEnum system) {
        this.system = system;
    }
    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;
    }
}