mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
This commit is contained in:
parent
d2279517d6
commit
45ace80228
@ -23,7 +23,7 @@ import org.springframework.data.elasticsearch.annotations.Document;
|
|||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Document(indexName = "cskefu", type = "contact_notes")
|
@Document(indexName = "contact_notes", type = "contact_notes")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "cs_contact_notes")
|
@Table(name = "cs_contact_notes")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
|
@ -23,7 +23,7 @@ import org.springframework.data.elasticsearch.annotations.Document;
|
|||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Document(indexName = "cskefu", type = "contacts")
|
@Document(indexName = "contacts", type = "contacts")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_contacts")
|
@Table(name = "uk_contacts")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
|
@ -24,23 +24,23 @@ import org.springframework.data.elasticsearch.annotations.Document;
|
|||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Document(indexName = "cskefu", type = "entcustomer")
|
@Document(indexName = "entcustomer", type = "entcustomer")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_entcustomer")
|
@Table(name = "uk_entcustomer")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@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 static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private String id = MainUtils.getUUID();
|
private String id = MainUtils.getUUID();
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
private String etype;
|
private String etype;
|
||||||
private String ekind;
|
private String ekind;
|
||||||
private String maturity ;
|
private String maturity;
|
||||||
private String elevel;
|
private String elevel;
|
||||||
private String ecode;
|
private String ecode;
|
||||||
private String nickname;
|
private String nickname;
|
||||||
@ -62,7 +62,7 @@ public class EntCustomer extends ESBean implements java.io.Serializable{
|
|||||||
private String country;
|
private String country;
|
||||||
private String province;
|
private String province;
|
||||||
|
|
||||||
private String entcusid; //客户ID
|
private String entcusid; //客户ID
|
||||||
|
|
||||||
private String city;
|
private String city;
|
||||||
private String sarea;
|
private String sarea;
|
||||||
@ -79,7 +79,7 @@ public class EntCustomer extends ESBean implements java.io.Serializable{
|
|||||||
private String weixin;
|
private String weixin;
|
||||||
private String weibo;
|
private String weibo;
|
||||||
|
|
||||||
private Date touchtime ;
|
private Date touchtime;
|
||||||
private String dzip;
|
private String dzip;
|
||||||
private String daddress;
|
private String daddress;
|
||||||
private String darea;
|
private String darea;
|
||||||
@ -105,7 +105,7 @@ public class EntCustomer extends ESBean implements java.io.Serializable{
|
|||||||
private String datadept;
|
private String datadept;
|
||||||
private String batid;
|
private String batid;
|
||||||
|
|
||||||
private String pinyin ; //拼音首字母
|
private String pinyin; //拼音首字母
|
||||||
|
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
@ -23,13 +23,12 @@ import org.hibernate.annotations.GenericGenerator;
|
|||||||
import org.springframework.data.elasticsearch.annotations.Document;
|
import org.springframework.data.elasticsearch.annotations.Document;
|
||||||
import org.springframework.data.elasticsearch.annotations.Field;
|
import org.springframework.data.elasticsearch.annotations.Field;
|
||||||
import org.springframework.data.elasticsearch.annotations.FieldType;
|
import org.springframework.data.elasticsearch.annotations.FieldType;
|
||||||
import org.springframework.data.elasticsearch.annotations.Parent;
|
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Document(indexName = "cskefu", type = "favorites", createIndex = false)
|
@Document(indexName = "favorites", type = "favorites", createIndex = false)
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_favorites")
|
@Table(name = "uk_favorites")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
@ -41,7 +40,7 @@ public class Favorites implements java.io.Serializable {
|
|||||||
private String title;
|
private String title;
|
||||||
private String model;
|
private String model;
|
||||||
@Field(type = FieldType.Text, store = true)
|
@Field(type = FieldType.Text, store = true)
|
||||||
@Parent(type = "uk_workorders")
|
// @Parent(type = "uk_workorders")
|
||||||
private String orderid;
|
private String orderid;
|
||||||
private WorkOrders workOrders;
|
private WorkOrders workOrders;
|
||||||
private Date createtime = new Date();
|
private Date createtime = new Date();
|
||||||
|
@ -28,7 +28,7 @@ import java.util.Date;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Document(indexName = "cskefu", type = "kbs_topic")
|
@Document(indexName = "kbs_topic", type = "kbs_topic")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_kbs_topic")
|
@Table(name = "uk_kbs_topic")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@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 top ; //是否置顶
|
||||||
private boolean essence ; //是否精华
|
private boolean essence ; //是否精华
|
||||||
private boolean accept ; //是否已采纳最佳答案
|
private boolean accept ; //是否已采纳最佳答案
|
||||||
private boolean finish ; //结贴
|
private boolean finish; //结贴
|
||||||
|
|
||||||
private int answers ; //回答数量
|
private int answers; //回答数量
|
||||||
|
|
||||||
@Column(name="sviews")
|
@Column(name = "sviews")
|
||||||
private int views ; //阅读数量
|
private int views; //阅读数量
|
||||||
private int followers ; //关注数量
|
private int followers; //关注数量
|
||||||
private int collections; //收藏数量
|
private int collections; //收藏数量
|
||||||
private int comments ; //评论数量
|
private int comments; //评论数量
|
||||||
private boolean frommobile ; //是否移动端提问
|
private boolean frommobile; //是否移动端提问
|
||||||
private String status ; // 状态
|
private String status; // 状态
|
||||||
private String tptype; //知识分类
|
private String tptype; //知识分类
|
||||||
private String cate ; //知识 栏目
|
private String cate; //知识 栏目
|
||||||
private String attachment ; //附件
|
private String attachment; //附件
|
||||||
|
|
||||||
private String username ;
|
private String username;
|
||||||
private String orgi ;
|
private String orgi;
|
||||||
private String creater;
|
private String creater;
|
||||||
|
|
||||||
private Date createtime = new Date();
|
private Date createtime = new Date();
|
||||||
@ -96,10 +96,10 @@ public class KbsTopic extends ESBean implements java.io.Serializable , UKAgg{
|
|||||||
private String organ;
|
private String organ;
|
||||||
|
|
||||||
private int rowcount ;
|
private int rowcount ;
|
||||||
private String key ;
|
private String key;
|
||||||
|
|
||||||
|
|
||||||
private User user ;
|
private User user;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,7 +32,7 @@ import javax.persistence.Transient;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Document(indexName = "cskefu", type = "kbs_topiccomment")
|
@Document(indexName = "kbs_topiccomment", type = "kbs_topiccomment")
|
||||||
public class KbsTopicComment implements UKAgg {
|
public class KbsTopicComment implements UKAgg {
|
||||||
|
|
||||||
private static final long serialVersionUID = -4911955236794918875L;
|
private static final long serialVersionUID = -4911955236794918875L;
|
||||||
|
@ -28,7 +28,7 @@ import javax.persistence.*;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Document(indexName = "cskefu", type = "orderscomment")
|
@Document(indexName = "orderscomment", type = "orderscomment")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_orderscomment")
|
@Table(name = "uk_orderscomment")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
|
@ -24,24 +24,24 @@ import org.springframework.data.elasticsearch.annotations.Document;
|
|||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@Document(indexName = "cskefu", type = "publishedreport")
|
@Document(indexName = "publishedreport", type = "publishedreport")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_publishedreport")
|
@Table(name = "uk_publishedreport")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@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 static final long serialVersionUID = 1L;
|
||||||
private String id ;
|
private String id;
|
||||||
private String name ;
|
private String name;
|
||||||
private String code ;
|
private String code;
|
||||||
private String reporttype ;
|
private String reporttype;
|
||||||
private String dicid ; //目录ID
|
private String dicid; //目录ID
|
||||||
private String orgi ;
|
private String orgi;
|
||||||
private String dataid ;
|
private String dataid;
|
||||||
private String dataflag ;
|
private String dataflag;
|
||||||
private int startindex ;
|
private int startindex;
|
||||||
private Date startdate ;
|
private Date startdate;
|
||||||
private int dataversion;
|
private int dataversion;
|
||||||
private String creater ;
|
private String creater;
|
||||||
private String reportcontent;
|
private String reportcontent;
|
||||||
private Date createtime;
|
private Date createtime;
|
||||||
private Report report ;
|
private Report report ;
|
||||||
|
@ -23,7 +23,7 @@ import org.springframework.data.elasticsearch.annotations.Document;
|
|||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Document(indexName = "cskefu", type = "quickreply")
|
@Document(indexName = "quickreply", type = "quickreply")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_quickreply")
|
@Table(name = "uk_quickreply")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
|
@ -25,51 +25,52 @@ import java.util.ArrayList;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Document(indexName = "cskefu", type = "report")
|
@Document(indexName = "report", type = "report")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_report")
|
@Table(name = "uk_report")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@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 static final long serialVersionUID = -5781401948807231526L;
|
||||||
private String id = MainUtils.getUUID();
|
private String id = MainUtils.getUUID();
|
||||||
private String name ;
|
private String name;
|
||||||
private String reporttype ; //0 代表动态报表 1 代表自助查询报表
|
private String reporttype; //0 代表动态报表 1 代表自助查询报表
|
||||||
private String viewtype;
|
private String viewtype;
|
||||||
private String code ; //变更用处,修改为 报表code
|
private String code; //变更用处,修改为 报表code
|
||||||
private String orgi ;
|
private String orgi;
|
||||||
private int objectcount ; //用来标记报表默认打开是否加载数据
|
private int objectcount; //用来标记报表默认打开是否加载数据
|
||||||
private String dicid ; //目录ID
|
private String dicid; //目录ID
|
||||||
private String description ;
|
private String description;
|
||||||
private Date createtime = new Date();
|
private Date createtime = new Date();
|
||||||
private String html ; //改变用处,用于存储 是否允许里面访问移动端报表
|
private String html; //改变用处,用于存储 是否允许里面访问移动端报表
|
||||||
private String status;
|
private String status;
|
||||||
private String rolename ; //变更用处,标记为 动态报表 默认为 null 或者 0 都是 自助查询,1表示自定义报表
|
private String rolename; //变更用处,标记为 动态报表 默认为 null 或者 0 都是 自助查询,1表示自定义报表
|
||||||
private String userid ; //变更用处,标记为 仪表盘的 属主ID
|
private String userid; //变更用处,标记为 仪表盘的 属主ID
|
||||||
private String blacklist ; //变更用处,用于区分是否是 仪表盘
|
private String blacklist; //变更用处,用于区分是否是 仪表盘
|
||||||
private String reportpackage ; //报表路径
|
private String reportpackage; //报表路径
|
||||||
private String useacl ; //启用权限控制 , 变更用处, 用于控制是否覆盖上级目录的权限
|
private String useacl; //启用权限控制 , 变更用处, 用于控制是否覆盖上级目录的权限
|
||||||
private String reportmodel ; //自助查询的是 保存 Model 的ID
|
private String reportmodel; //自助查询的是 保存 Model 的ID
|
||||||
private Date updatetime; //修改时间
|
private Date updatetime; //修改时间
|
||||||
|
|
||||||
|
|
||||||
private boolean datastatus ;
|
private boolean datastatus;
|
||||||
private String creater;
|
private String creater;
|
||||||
private int reportversion ;
|
private int reportversion;
|
||||||
private String publishedtype ;
|
private String publishedtype;
|
||||||
private String tabtype ;
|
private String tabtype;
|
||||||
private String username ;
|
private String username;
|
||||||
private String useremail ;
|
private String useremail;
|
||||||
private boolean cache;//1启用缓存,0不启用
|
private boolean cache;//1启用缓存,0不启用
|
||||||
private String extparam; //默认使用 player 打开
|
private String extparam; //默认使用 player 打开
|
||||||
private String targetreport;//reporttype=shortcuts 的时候的目标报表
|
private String targetreport;//reporttype=shortcuts 的时候的目标报表
|
||||||
private String source ; //报表来源,如果是在 事件设计器里创建的 报表,则此字段不为空,无法保存
|
private String source ; //报表来源,如果是在 事件设计器里创建的 报表,则此字段不为空,无法保存
|
||||||
|
|
||||||
private List<ReportModel> reportModels = new ArrayList<ReportModel>();
|
private List<ReportModel> reportModels = new ArrayList<ReportModel>();
|
||||||
|
|
||||||
private List<ReportFilter> reportFilters = new ArrayList<ReportFilter>();
|
private List<ReportFilter> reportFilters = new ArrayList<ReportFilter>();
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@Column(length = 32)
|
@Column(length = 32)
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* 表 uk_xiaoe_topic
|
* 表 uk_xiaoe_topic
|
||||||
*/
|
*/
|
||||||
@Document(indexName = "cskefu", type = "xiaoe_topic")
|
@Document(indexName = "xiaoe_topic", type = "xiaoe_topic")
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_xiaoe_topic")
|
@Table(name = "uk_xiaoe_topic")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
@ -73,20 +73,20 @@ public class Topic implements java.io.Serializable{
|
|||||||
@Transient
|
@Transient
|
||||||
private List<String> silimar = new ArrayList<String>();
|
private List<String> silimar = new ArrayList<String>();
|
||||||
|
|
||||||
private int answers ; //回答数量
|
private int answers; //回答数量
|
||||||
|
|
||||||
|
|
||||||
private int views ; //阅读数量
|
private int views; //阅读数量
|
||||||
private int followers ; //关注数量
|
private int followers; //关注数量
|
||||||
private int collections; //收藏数量
|
private int collections; //收藏数量
|
||||||
private int comments ; //评论数量
|
private int comments; //评论数量
|
||||||
private boolean mobile ; //是否移动端提问
|
private boolean mobile; //是否移动端提问
|
||||||
private String status ; // 状态
|
private String status; // 状态
|
||||||
private String tptype; //主题类型 问答:分享:讨论
|
private String tptype; //主题类型 问答:分享:讨论
|
||||||
private String cate ; //主题 栏目
|
private String cate; //主题 栏目
|
||||||
|
|
||||||
private String username ;
|
private String username;
|
||||||
private String orgi ;
|
private String orgi;
|
||||||
private String creater;
|
private String creater;
|
||||||
|
|
||||||
private Date createtime = new Date();
|
private Date createtime = new Date();
|
||||||
@ -98,9 +98,7 @@ public class Topic implements java.io.Serializable{
|
|||||||
private String aiid ; //机器人ID
|
private String aiid ; //机器人ID
|
||||||
|
|
||||||
|
|
||||||
private User user ;
|
private User user;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -29,7 +29,7 @@ import java.util.List;
|
|||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "uk_chat_message")
|
@Table(name = "uk_chat_message")
|
||||||
@Document(indexName = "cskefu", type = "chat_message")
|
@Document(indexName = "chat_message", type = "chat_message")
|
||||||
@org.hibernate.annotations.Proxy(lazy = false)
|
@org.hibernate.annotations.Proxy(lazy = false)
|
||||||
public class ChatMessage implements java.io.Serializable {
|
public class ChatMessage implements java.io.Serializable {
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user