1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00
dengchao@xgtl 2020-04-21 15:46:01 +08:00
parent d2279517d6
commit 45ace80228
13 changed files with 2754 additions and 2748 deletions

View File

@ -23,7 +23,7 @@ import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import java.util.Date;
@Document(indexName = "cskefu", type = "contact_notes")
@Document(indexName = "contact_notes", type = "contact_notes")
@Entity
@Table(name = "cs_contact_notes")
@org.hibernate.annotations.Proxy(lazy = false)

View File

@ -23,7 +23,7 @@ import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import java.util.Date;
@Document(indexName = "cskefu", type = "contacts")
@Document(indexName = "contacts", type = "contacts")
@Entity
@Table(name = "uk_contacts")
@org.hibernate.annotations.Proxy(lazy = false)

View File

@ -24,23 +24,23 @@ import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import java.util.Date;
@Document(indexName = "cskefu", type = "entcustomer")
@Document(indexName = "entcustomer", type = "entcustomer")
@Entity
@Table(name = "uk_entcustomer")
@org.hibernate.annotations.Proxy(lazy = false)
public class EntCustomer extends ESBean implements java.io.Serializable{
public class EntCustomer extends ESBean implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private String id = MainUtils.getUUID();
private String id = MainUtils.getUUID();
private String name;
private String etype;
private String ekind;
private String maturity ;
private String maturity;
private String elevel;
private String ecode;
private String nickname;
@ -62,7 +62,7 @@ public class EntCustomer extends ESBean implements java.io.Serializable{
private String country;
private String province;
private String entcusid; //客户ID
private String entcusid; //客户ID
private String city;
private String sarea;
@ -79,7 +79,7 @@ public class EntCustomer extends ESBean implements java.io.Serializable{
private String weixin;
private String weibo;
private Date touchtime ;
private Date touchtime;
private String dzip;
private String daddress;
private String darea;
@ -105,7 +105,7 @@ public class EntCustomer extends ESBean implements java.io.Serializable{
private String datadept;
private String batid;
private String pinyin ; //拼音首字母
private String pinyin; //拼音首字母
@Id

View File

@ -23,13 +23,12 @@ import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Parent;
import javax.persistence.*;
import java.util.Date;
@Data
@Document(indexName = "cskefu", type = "favorites", createIndex = false)
@Document(indexName = "favorites", type = "favorites", createIndex = false)
@Entity
@Table(name = "uk_favorites")
@org.hibernate.annotations.Proxy(lazy = false)
@ -41,7 +40,7 @@ public class Favorites implements java.io.Serializable {
private String title;
private String model;
@Field(type = FieldType.Text, store = true)
@Parent(type = "uk_workorders")
// @Parent(type = "uk_workorders")
private String orderid;
private WorkOrders workOrders;
private Date createtime = new Date();

View File

@ -28,7 +28,7 @@ import java.util.Date;
/**
*
*/
@Document(indexName = "cskefu", type = "kbs_topic")
@Document(indexName = "kbs_topic", type = "kbs_topic")
@Entity
@Table(name = "uk_kbs_topic")
@org.hibernate.annotations.Proxy(lazy = false)
@ -70,23 +70,23 @@ public class KbsTopic extends ESBean implements java.io.Serializable , UKAgg{
private boolean top ; //是否置顶
private boolean essence ; //是否精华
private boolean accept ; //是否已采纳最佳答案
private boolean finish ; //结贴
private boolean finish; //结贴
private int answers ; //回答数量
private int answers; //回答数量
@Column(name="sviews")
private int views ; //阅读数量
private int followers ; //关注数量
private int collections; //收藏数量
private int comments ; //评论数量
private boolean frommobile ; //是否移动端提问
private String status ; // 状态
private String tptype; //知识分类
private String cate ; //知识 栏目
private String attachment ; //附件
@Column(name = "sviews")
private int views; //阅读数量
private int followers; //关注数量
private int collections; //收藏数量
private int comments; //评论数量
private boolean frommobile; //是否移动端提问
private String status; // 状态
private String tptype; //知识分类
private String cate; //知识 栏目
private String attachment; //附件
private String username ;
private String orgi ;
private String username;
private String orgi;
private String creater;
private Date createtime = new Date();
@ -96,10 +96,10 @@ public class KbsTopic extends ESBean implements java.io.Serializable , UKAgg{
private String organ;
private int rowcount ;
private String key ;
private String key;
private User user ;
private User user;
/**

View File

@ -32,7 +32,7 @@ import javax.persistence.Transient;
import java.util.Date;
@Data
@Document(indexName = "cskefu", type = "kbs_topiccomment")
@Document(indexName = "kbs_topiccomment", type = "kbs_topiccomment")
public class KbsTopicComment implements UKAgg {
private static final long serialVersionUID = -4911955236794918875L;

View File

@ -28,7 +28,7 @@ import javax.persistence.*;
import java.util.Date;
@Data
@Document(indexName = "cskefu", type = "orderscomment")
@Document(indexName = "orderscomment", type = "orderscomment")
@Entity
@Table(name = "uk_orderscomment")
@org.hibernate.annotations.Proxy(lazy = false)

View File

@ -24,24 +24,24 @@ import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import java.util.Date;
@Document(indexName = "cskefu", type = "publishedreport")
@Document(indexName = "publishedreport", type = "publishedreport")
@Entity
@Table(name = "uk_publishedreport")
@org.hibernate.annotations.Proxy(lazy = false)
public class PublishedReport implements java.io.Serializable{
public class PublishedReport implements java.io.Serializable {
private static final long serialVersionUID = 1L;
private String id ;
private String name ;
private String code ;
private String reporttype ;
private String dicid ; //目录ID
private String orgi ;
private String dataid ;
private String dataflag ;
private int startindex ;
private Date startdate ;
private String id;
private String name;
private String code;
private String reporttype;
private String dicid; //目录ID
private String orgi;
private String dataid;
private String dataflag;
private int startindex;
private Date startdate;
private int dataversion;
private String creater ;
private String creater;
private String reportcontent;
private Date createtime;
private Report report ;

View File

@ -23,7 +23,7 @@ import org.springframework.data.elasticsearch.annotations.Document;
import javax.persistence.*;
import java.util.Date;
@Document(indexName = "cskefu", type = "quickreply")
@Document(indexName = "quickreply", type = "quickreply")
@Entity
@Table(name = "uk_quickreply")
@org.hibernate.annotations.Proxy(lazy = false)

View File

@ -25,51 +25,52 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Document(indexName = "cskefu", type = "report")
@Document(indexName = "report", type = "report")
@Entity
@Table(name = "uk_report")
@org.hibernate.annotations.Proxy(lazy = false)
public class Report extends ESBean implements java.io.Serializable{
public class Report extends ESBean implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = -5781401948807231526L;
private String id = MainUtils.getUUID();
private String name ;
private String reporttype ; //0 代表动态报表 1 代表自助查询报表
private String id = MainUtils.getUUID();
private String name;
private String reporttype; //0 代表动态报表 1 代表自助查询报表
private String viewtype;
private String code ; //变更用处修改为 报表code
private String orgi ;
private int objectcount ; //用来标记报表默认打开是否加载数据
private String dicid ; //目录ID
private String description ;
private String code; //变更用处修改为 报表code
private String orgi;
private int objectcount; //用来标记报表默认打开是否加载数据
private String dicid; //目录ID
private String description;
private Date createtime = new Date();
private String html ; //改变用处用于存储 是否允许里面访问移动端报表
private String html; //改变用处用于存储 是否允许里面访问移动端报表
private String status;
private String rolename ; //变更用处标记为 动态报表 默认为 null 或者 0 都是 自助查询1表示自定义报表
private String userid ; //变更用处标记为 仪表盘的 属主ID
private String blacklist ; //变更用处用于区分是否是 仪表盘
private String reportpackage ; //报表路径
private String useacl ; //启用权限控制 , 变更用处 用于控制是否覆盖上级目录的权限
private String reportmodel ; //自助查询的是 保存 Model 的ID
private Date updatetime; //修改时间
private String rolename; //变更用处标记为 动态报表 默认为 null 或者 0 都是 自助查询1表示自定义报表
private String userid; //变更用处标记为 仪表盘的 属主ID
private String blacklist; //变更用处用于区分是否是 仪表盘
private String reportpackage; //报表路径
private String useacl; //启用权限控制 , 变更用处 用于控制是否覆盖上级目录的权限
private String reportmodel; //自助查询的是 保存 Model 的ID
private Date updatetime; //修改时间
private boolean datastatus ;
private boolean datastatus;
private String creater;
private int reportversion ;
private String publishedtype ;
private String tabtype ;
private String username ;
private String useremail ;
private int reportversion;
private String publishedtype;
private String tabtype;
private String username;
private String useremail;
private boolean cache;//1启用缓存0不启用
private String extparam; //默认使用 player 打开
private String extparam; //默认使用 player 打开
private String targetreport;//reporttype=shortcuts 的时候的目标报表
private String source ; //报表来源如果是在 事件设计器里创建的 报表则此字段不为空无法保存
private List<ReportModel> reportModels = new ArrayList<ReportModel>();
private List<ReportFilter> reportFilters = new ArrayList<ReportFilter>();
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")

View File

@ -29,7 +29,7 @@ import java.util.List;
/**
* uk_xiaoe_topic
*/
@Document(indexName = "cskefu", type = "xiaoe_topic")
@Document(indexName = "xiaoe_topic", type = "xiaoe_topic")
@Entity
@Table(name = "uk_xiaoe_topic")
@org.hibernate.annotations.Proxy(lazy = false)
@ -73,20 +73,20 @@ public class Topic implements java.io.Serializable{
@Transient
private List<String> silimar = new ArrayList<String>();
private int answers ; //回答数量
private int answers; //回答数量
private int views ; //阅读数量
private int followers ; //关注数量
private int collections; //收藏数量
private int comments ; //评论数量
private boolean mobile ; //是否移动端提问
private String status ; // 状态
private String tptype; //主题类型 问答:分享:讨论
private String cate ; //主题 栏目
private int views; //阅读数量
private int followers; //关注数量
private int collections; //收藏数量
private int comments; //评论数量
private boolean mobile; //是否移动端提问
private String status; // 状态
private String tptype; //主题类型 问答:分享:讨论
private String cate; //主题 栏目
private String username ;
private String orgi ;
private String username;
private String orgi;
private String creater;
private Date createtime = new Date();
@ -98,9 +98,7 @@ public class Topic implements java.io.Serializable{
private String aiid ; //机器人ID
private User user ;
private User user;
/**

View File

@ -29,7 +29,7 @@ import java.util.List;
@Entity
@Table(name = "uk_chat_message")
@Document(indexName = "cskefu", type = "chat_message")
@Document(indexName = "chat_message", type = "chat_message")
@org.hibernate.annotations.Proxy(lazy = false)
public class ChatMessage implements java.io.Serializable {
/**