From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 16 十月 2024 14:28:37 +0800
Subject: [PATCH] 将CMQ替换为rabbitmq

---
 fanli/src/main/java/com/yeshi/fanli/entity/system/BusinessSystem.java |  308 ++++++++++++++++++++++++++------------------------
 1 files changed, 161 insertions(+), 147 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/system/BusinessSystem.java b/fanli/src/main/java/com/yeshi/fanli/entity/system/BusinessSystem.java
index 8a81516..73ff319 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/system/BusinessSystem.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/system/BusinessSystem.java
@@ -1,147 +1,161 @@
-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鍖呭悕鎴朓OS 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;
-	}
-	
-	
-}
+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鍖呭悕鎴朓OS 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;
+    }
+
+
+}

--
Gitblit v1.8.0