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)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,494 +1,494 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.chatopera.cc.model;
|
package com.chatopera.cc.model;
|
||||||
|
|
||||||
import com.chatopera.cc.basic.MainUtils;
|
import com.chatopera.cc.basic.MainUtils;
|
||||||
import org.hibernate.annotations.GenericGenerator;
|
import org.hibernate.annotations.GenericGenerator;
|
||||||
import org.springframework.data.elasticsearch.annotations.Document;
|
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;
|
||||||
private String esource;
|
private String esource;
|
||||||
private String organ;
|
private String organ;
|
||||||
private String corporation;
|
private String corporation;
|
||||||
private String leadername;
|
private String leadername;
|
||||||
private String leadermobile;
|
private String leadermobile;
|
||||||
private String leadermobile2;
|
private String leadermobile2;
|
||||||
private String leaderphone;
|
private String leaderphone;
|
||||||
private String leaderemail;
|
private String leaderemail;
|
||||||
private String website;
|
private String website;
|
||||||
private String email;
|
private String email;
|
||||||
private String emailalt;
|
private String emailalt;
|
||||||
private String phone;
|
private String phone;
|
||||||
private String phonealt;
|
private String phonealt;
|
||||||
private String fax;
|
private String fax;
|
||||||
private String faxalt;
|
private String faxalt;
|
||||||
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;
|
||||||
private String address;
|
private String address;
|
||||||
private String postcode;
|
private String postcode;
|
||||||
private String businessscope;
|
private String businessscope;
|
||||||
private String capital;
|
private String capital;
|
||||||
private String stockcode;
|
private String stockcode;
|
||||||
private String bankaccount;
|
private String bankaccount;
|
||||||
private String registeredaddress;
|
private String registeredaddress;
|
||||||
private String esize;
|
private String esize;
|
||||||
private String industry;
|
private String industry;
|
||||||
private String validstatus;
|
private String validstatus;
|
||||||
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;
|
||||||
private String dcity;
|
private String dcity;
|
||||||
private String dprovince;
|
private String dprovince;
|
||||||
private boolean datastatus;
|
private boolean datastatus;
|
||||||
private String processid;
|
private String processid;
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
private String creater;
|
private String creater;
|
||||||
private String username;
|
private String username;
|
||||||
private String updateuser;
|
private String updateuser;
|
||||||
private String updateusername;
|
private String updateusername;
|
||||||
|
|
||||||
private Date updatetime = new Date();
|
private Date updatetime = new Date();
|
||||||
private String orgi;
|
private String orgi;
|
||||||
|
|
||||||
private Date createtime = new Date();
|
private Date createtime = new Date();
|
||||||
private String assignedto;
|
private String assignedto;
|
||||||
private String wfstatus;
|
private String wfstatus;
|
||||||
private String shares;
|
private String shares;
|
||||||
private String owner;
|
private String owner;
|
||||||
private String datadept;
|
private String datadept;
|
||||||
private String batid;
|
private String batid;
|
||||||
|
|
||||||
private String pinyin ; //拼音首字母
|
private String pinyin; //拼音首字母
|
||||||
|
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@Column(length = 32)
|
@Column(length = 32)
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
public void setId(String id) {
|
public void setId(String id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
public String getEtype() {
|
public String getEtype() {
|
||||||
return etype;
|
return etype;
|
||||||
}
|
}
|
||||||
public void setEtype(String etype) {
|
public void setEtype(String etype) {
|
||||||
this.etype = etype;
|
this.etype = etype;
|
||||||
}
|
}
|
||||||
public String getEkind() {
|
public String getEkind() {
|
||||||
return ekind;
|
return ekind;
|
||||||
}
|
}
|
||||||
public void setEkind(String ekind) {
|
public void setEkind(String ekind) {
|
||||||
this.ekind = ekind;
|
this.ekind = ekind;
|
||||||
}
|
}
|
||||||
public String getElevel() {
|
public String getElevel() {
|
||||||
return elevel;
|
return elevel;
|
||||||
}
|
}
|
||||||
public void setElevel(String elevel) {
|
public void setElevel(String elevel) {
|
||||||
this.elevel = elevel;
|
this.elevel = elevel;
|
||||||
}
|
}
|
||||||
public String getEcode() {
|
public String getEcode() {
|
||||||
return ecode;
|
return ecode;
|
||||||
}
|
}
|
||||||
public void setEcode(String ecode) {
|
public void setEcode(String ecode) {
|
||||||
this.ecode = ecode;
|
this.ecode = ecode;
|
||||||
}
|
}
|
||||||
public String getNickname() {
|
public String getNickname() {
|
||||||
return nickname;
|
return nickname;
|
||||||
}
|
}
|
||||||
public void setNickname(String nickname) {
|
public void setNickname(String nickname) {
|
||||||
this.nickname = nickname;
|
this.nickname = nickname;
|
||||||
}
|
}
|
||||||
public String getEsource() {
|
public String getEsource() {
|
||||||
return esource;
|
return esource;
|
||||||
}
|
}
|
||||||
public void setEsource(String esource) {
|
public void setEsource(String esource) {
|
||||||
this.esource = esource;
|
this.esource = esource;
|
||||||
}
|
}
|
||||||
public String getOrgan() {
|
public String getOrgan() {
|
||||||
return organ;
|
return organ;
|
||||||
}
|
}
|
||||||
public void setOrgan(String organ) {
|
public void setOrgan(String organ) {
|
||||||
this.organ = organ;
|
this.organ = organ;
|
||||||
}
|
}
|
||||||
public String getCorporation() {
|
public String getCorporation() {
|
||||||
return corporation;
|
return corporation;
|
||||||
}
|
}
|
||||||
public void setCorporation(String corporation) {
|
public void setCorporation(String corporation) {
|
||||||
this.corporation = corporation;
|
this.corporation = corporation;
|
||||||
}
|
}
|
||||||
public String getLeadername() {
|
public String getLeadername() {
|
||||||
return leadername;
|
return leadername;
|
||||||
}
|
}
|
||||||
public void setLeadername(String leadername) {
|
public void setLeadername(String leadername) {
|
||||||
this.leadername = leadername;
|
this.leadername = leadername;
|
||||||
}
|
}
|
||||||
public String getLeadermobile() {
|
public String getLeadermobile() {
|
||||||
return leadermobile;
|
return leadermobile;
|
||||||
}
|
}
|
||||||
public void setLeadermobile(String leadermobile) {
|
public void setLeadermobile(String leadermobile) {
|
||||||
this.leadermobile = leadermobile;
|
this.leadermobile = leadermobile;
|
||||||
}
|
}
|
||||||
public String getLeadermobile2() {
|
public String getLeadermobile2() {
|
||||||
return leadermobile2;
|
return leadermobile2;
|
||||||
}
|
}
|
||||||
public void setLeadermobile2(String leadermobile2) {
|
public void setLeadermobile2(String leadermobile2) {
|
||||||
this.leadermobile2 = leadermobile2;
|
this.leadermobile2 = leadermobile2;
|
||||||
}
|
}
|
||||||
public String getLeaderphone() {
|
public String getLeaderphone() {
|
||||||
return leaderphone;
|
return leaderphone;
|
||||||
}
|
}
|
||||||
public void setLeaderphone(String leaderphone) {
|
public void setLeaderphone(String leaderphone) {
|
||||||
this.leaderphone = leaderphone;
|
this.leaderphone = leaderphone;
|
||||||
}
|
}
|
||||||
public String getLeaderemail() {
|
public String getLeaderemail() {
|
||||||
return leaderemail;
|
return leaderemail;
|
||||||
}
|
}
|
||||||
public void setLeaderemail(String leaderemail) {
|
public void setLeaderemail(String leaderemail) {
|
||||||
this.leaderemail = leaderemail;
|
this.leaderemail = leaderemail;
|
||||||
}
|
}
|
||||||
public String getWebsite() {
|
public String getWebsite() {
|
||||||
return website;
|
return website;
|
||||||
}
|
}
|
||||||
public void setWebsite(String website) {
|
public void setWebsite(String website) {
|
||||||
this.website = website;
|
this.website = website;
|
||||||
}
|
}
|
||||||
public String getEmail() {
|
public String getEmail() {
|
||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
public void setEmail(String email) {
|
public void setEmail(String email) {
|
||||||
this.email = email;
|
this.email = email;
|
||||||
}
|
}
|
||||||
public String getEmailalt() {
|
public String getEmailalt() {
|
||||||
return emailalt;
|
return emailalt;
|
||||||
}
|
}
|
||||||
public void setEmailalt(String emailalt) {
|
public void setEmailalt(String emailalt) {
|
||||||
this.emailalt = emailalt;
|
this.emailalt = emailalt;
|
||||||
}
|
}
|
||||||
public String getPhone() {
|
public String getPhone() {
|
||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
public void setPhone(String phone) {
|
public void setPhone(String phone) {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
public String getPhonealt() {
|
public String getPhonealt() {
|
||||||
return phonealt;
|
return phonealt;
|
||||||
}
|
}
|
||||||
public void setPhonealt(String phonealt) {
|
public void setPhonealt(String phonealt) {
|
||||||
this.phonealt = phonealt;
|
this.phonealt = phonealt;
|
||||||
}
|
}
|
||||||
public String getFax() {
|
public String getFax() {
|
||||||
return fax;
|
return fax;
|
||||||
}
|
}
|
||||||
public void setFax(String fax) {
|
public void setFax(String fax) {
|
||||||
this.fax = fax;
|
this.fax = fax;
|
||||||
}
|
}
|
||||||
public String getFaxalt() {
|
public String getFaxalt() {
|
||||||
return faxalt;
|
return faxalt;
|
||||||
}
|
}
|
||||||
public void setFaxalt(String faxalt) {
|
public void setFaxalt(String faxalt) {
|
||||||
this.faxalt = faxalt;
|
this.faxalt = faxalt;
|
||||||
}
|
}
|
||||||
public String getCountry() {
|
public String getCountry() {
|
||||||
return country;
|
return country;
|
||||||
}
|
}
|
||||||
public void setCountry(String country) {
|
public void setCountry(String country) {
|
||||||
this.country = country;
|
this.country = country;
|
||||||
}
|
}
|
||||||
public String getProvince() {
|
public String getProvince() {
|
||||||
return province;
|
return province;
|
||||||
}
|
}
|
||||||
public void setProvince(String province) {
|
public void setProvince(String province) {
|
||||||
this.province = province;
|
this.province = province;
|
||||||
}
|
}
|
||||||
public String getCity() {
|
public String getCity() {
|
||||||
return city;
|
return city;
|
||||||
}
|
}
|
||||||
public void setCity(String city) {
|
public void setCity(String city) {
|
||||||
this.city = city;
|
this.city = city;
|
||||||
}
|
}
|
||||||
public String getSarea() {
|
public String getSarea() {
|
||||||
return sarea;
|
return sarea;
|
||||||
}
|
}
|
||||||
public void setSarea(String sarea) {
|
public void setSarea(String sarea) {
|
||||||
this.sarea = sarea;
|
this.sarea = sarea;
|
||||||
}
|
}
|
||||||
public String getAddress() {
|
public String getAddress() {
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
public void setAddress(String address) {
|
public void setAddress(String address) {
|
||||||
this.address = address;
|
this.address = address;
|
||||||
}
|
}
|
||||||
public String getPostcode() {
|
public String getPostcode() {
|
||||||
return postcode;
|
return postcode;
|
||||||
}
|
}
|
||||||
public void setPostcode(String postcode) {
|
public void setPostcode(String postcode) {
|
||||||
this.postcode = postcode;
|
this.postcode = postcode;
|
||||||
}
|
}
|
||||||
public String getBusinessscope() {
|
public String getBusinessscope() {
|
||||||
return businessscope;
|
return businessscope;
|
||||||
}
|
}
|
||||||
public void setBusinessscope(String businessscope) {
|
public void setBusinessscope(String businessscope) {
|
||||||
this.businessscope = businessscope;
|
this.businessscope = businessscope;
|
||||||
}
|
}
|
||||||
public String getCapital() {
|
public String getCapital() {
|
||||||
return capital;
|
return capital;
|
||||||
}
|
}
|
||||||
public void setCapital(String capital) {
|
public void setCapital(String capital) {
|
||||||
this.capital = capital;
|
this.capital = capital;
|
||||||
}
|
}
|
||||||
public String getStockcode() {
|
public String getStockcode() {
|
||||||
return stockcode;
|
return stockcode;
|
||||||
}
|
}
|
||||||
public void setStockcode(String stockcode) {
|
public void setStockcode(String stockcode) {
|
||||||
this.stockcode = stockcode;
|
this.stockcode = stockcode;
|
||||||
}
|
}
|
||||||
public String getBankaccount() {
|
public String getBankaccount() {
|
||||||
return bankaccount;
|
return bankaccount;
|
||||||
}
|
}
|
||||||
public void setBankaccount(String bankaccount) {
|
public void setBankaccount(String bankaccount) {
|
||||||
this.bankaccount = bankaccount;
|
this.bankaccount = bankaccount;
|
||||||
}
|
}
|
||||||
public String getRegisteredaddress() {
|
public String getRegisteredaddress() {
|
||||||
return registeredaddress;
|
return registeredaddress;
|
||||||
}
|
}
|
||||||
public void setRegisteredaddress(String registeredaddress) {
|
public void setRegisteredaddress(String registeredaddress) {
|
||||||
this.registeredaddress = registeredaddress;
|
this.registeredaddress = registeredaddress;
|
||||||
}
|
}
|
||||||
public String getEsize() {
|
public String getEsize() {
|
||||||
return esize;
|
return esize;
|
||||||
}
|
}
|
||||||
public void setEsize(String esize) {
|
public void setEsize(String esize) {
|
||||||
this.esize = esize;
|
this.esize = esize;
|
||||||
}
|
}
|
||||||
public String getIndustry() {
|
public String getIndustry() {
|
||||||
return industry;
|
return industry;
|
||||||
}
|
}
|
||||||
public void setIndustry(String industry) {
|
public void setIndustry(String industry) {
|
||||||
this.industry = industry;
|
this.industry = industry;
|
||||||
}
|
}
|
||||||
public String getValidstatus() {
|
public String getValidstatus() {
|
||||||
return validstatus;
|
return validstatus;
|
||||||
}
|
}
|
||||||
public void setValidstatus(String validstatus) {
|
public void setValidstatus(String validstatus) {
|
||||||
this.validstatus = validstatus;
|
this.validstatus = validstatus;
|
||||||
}
|
}
|
||||||
public String getWeixin() {
|
public String getWeixin() {
|
||||||
return weixin;
|
return weixin;
|
||||||
}
|
}
|
||||||
public void setWeixin(String weixin) {
|
public void setWeixin(String weixin) {
|
||||||
this.weixin = weixin;
|
this.weixin = weixin;
|
||||||
}
|
}
|
||||||
public String getWeibo() {
|
public String getWeibo() {
|
||||||
return weibo;
|
return weibo;
|
||||||
}
|
}
|
||||||
public void setWeibo(String weibo) {
|
public void setWeibo(String weibo) {
|
||||||
this.weibo = weibo;
|
this.weibo = weibo;
|
||||||
}
|
}
|
||||||
public Date getTouchtime() {
|
public Date getTouchtime() {
|
||||||
return touchtime;
|
return touchtime;
|
||||||
}
|
}
|
||||||
public void setTouchtime(Date touchtime) {
|
public void setTouchtime(Date touchtime) {
|
||||||
this.touchtime = touchtime;
|
this.touchtime = touchtime;
|
||||||
}
|
}
|
||||||
public String getDzip() {
|
public String getDzip() {
|
||||||
return dzip;
|
return dzip;
|
||||||
}
|
}
|
||||||
public void setDzip(String dzip) {
|
public void setDzip(String dzip) {
|
||||||
this.dzip = dzip;
|
this.dzip = dzip;
|
||||||
}
|
}
|
||||||
public String getDaddress() {
|
public String getDaddress() {
|
||||||
return daddress;
|
return daddress;
|
||||||
}
|
}
|
||||||
public void setDaddress(String daddress) {
|
public void setDaddress(String daddress) {
|
||||||
this.daddress = daddress;
|
this.daddress = daddress;
|
||||||
}
|
}
|
||||||
public String getDarea() {
|
public String getDarea() {
|
||||||
return darea;
|
return darea;
|
||||||
}
|
}
|
||||||
public void setDarea(String darea) {
|
public void setDarea(String darea) {
|
||||||
this.darea = darea;
|
this.darea = darea;
|
||||||
}
|
}
|
||||||
public String getDcity() {
|
public String getDcity() {
|
||||||
return dcity;
|
return dcity;
|
||||||
}
|
}
|
||||||
public void setDcity(String dcity) {
|
public void setDcity(String dcity) {
|
||||||
this.dcity = dcity;
|
this.dcity = dcity;
|
||||||
}
|
}
|
||||||
public String getDprovince() {
|
public String getDprovince() {
|
||||||
return dprovince;
|
return dprovince;
|
||||||
}
|
}
|
||||||
public void setDprovince(String dprovince) {
|
public void setDprovince(String dprovince) {
|
||||||
this.dprovince = dprovince;
|
this.dprovince = dprovince;
|
||||||
}
|
}
|
||||||
public boolean isDatastatus() {
|
public boolean isDatastatus() {
|
||||||
return datastatus;
|
return datastatus;
|
||||||
}
|
}
|
||||||
public void setDatastatus(boolean datastatus) {
|
public void setDatastatus(boolean datastatus) {
|
||||||
this.datastatus = datastatus;
|
this.datastatus = datastatus;
|
||||||
}
|
}
|
||||||
public String getProcessid() {
|
public String getProcessid() {
|
||||||
return processid;
|
return processid;
|
||||||
}
|
}
|
||||||
public void setProcessid(String processid) {
|
public void setProcessid(String processid) {
|
||||||
this.processid = processid;
|
this.processid = processid;
|
||||||
}
|
}
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
public void setDescription(String description) {
|
public void setDescription(String description) {
|
||||||
this.description = description;
|
this.description = description;
|
||||||
}
|
}
|
||||||
public String getCreater() {
|
public String getCreater() {
|
||||||
return creater;
|
return creater;
|
||||||
}
|
}
|
||||||
public void setCreater(String creater) {
|
public void setCreater(String creater) {
|
||||||
this.creater = creater;
|
this.creater = creater;
|
||||||
}
|
}
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
public void setUsername(String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
public String getUpdateuser() {
|
public String getUpdateuser() {
|
||||||
return updateuser;
|
return updateuser;
|
||||||
}
|
}
|
||||||
public void setUpdateuser(String updateuser) {
|
public void setUpdateuser(String updateuser) {
|
||||||
this.updateuser = updateuser;
|
this.updateuser = updateuser;
|
||||||
}
|
}
|
||||||
public String getUpdateusername() {
|
public String getUpdateusername() {
|
||||||
return updateusername;
|
return updateusername;
|
||||||
}
|
}
|
||||||
public void setUpdateusername(String updateusername) {
|
public void setUpdateusername(String updateusername) {
|
||||||
this.updateusername = updateusername;
|
this.updateusername = updateusername;
|
||||||
}
|
}
|
||||||
public Date getUpdatetime() {
|
public Date getUpdatetime() {
|
||||||
return updatetime;
|
return updatetime;
|
||||||
}
|
}
|
||||||
public void setUpdatetime(Date updatetime) {
|
public void setUpdatetime(Date updatetime) {
|
||||||
this.updatetime = updatetime;
|
this.updatetime = updatetime;
|
||||||
}
|
}
|
||||||
public String getOrgi() {
|
public String getOrgi() {
|
||||||
return orgi;
|
return orgi;
|
||||||
}
|
}
|
||||||
public void setOrgi(String orgi) {
|
public void setOrgi(String orgi) {
|
||||||
this.orgi = orgi;
|
this.orgi = orgi;
|
||||||
}
|
}
|
||||||
public Date getCreatetime() {
|
public Date getCreatetime() {
|
||||||
return createtime;
|
return createtime;
|
||||||
}
|
}
|
||||||
public void setCreatetime(Date createtime) {
|
public void setCreatetime(Date createtime) {
|
||||||
this.createtime = createtime;
|
this.createtime = createtime;
|
||||||
}
|
}
|
||||||
public String getAssignedto() {
|
public String getAssignedto() {
|
||||||
return assignedto;
|
return assignedto;
|
||||||
}
|
}
|
||||||
public void setAssignedto(String assignedto) {
|
public void setAssignedto(String assignedto) {
|
||||||
this.assignedto = assignedto;
|
this.assignedto = assignedto;
|
||||||
}
|
}
|
||||||
public String getWfstatus() {
|
public String getWfstatus() {
|
||||||
return wfstatus;
|
return wfstatus;
|
||||||
}
|
}
|
||||||
public void setWfstatus(String wfstatus) {
|
public void setWfstatus(String wfstatus) {
|
||||||
this.wfstatus = wfstatus;
|
this.wfstatus = wfstatus;
|
||||||
}
|
}
|
||||||
public String getShares() {
|
public String getShares() {
|
||||||
return shares;
|
return shares;
|
||||||
}
|
}
|
||||||
public void setShares(String shares) {
|
public void setShares(String shares) {
|
||||||
this.shares = shares;
|
this.shares = shares;
|
||||||
}
|
}
|
||||||
public String getOwner() {
|
public String getOwner() {
|
||||||
return owner;
|
return owner;
|
||||||
}
|
}
|
||||||
public void setOwner(String owner) {
|
public void setOwner(String owner) {
|
||||||
this.owner = owner;
|
this.owner = owner;
|
||||||
}
|
}
|
||||||
public String getDatadept() {
|
public String getDatadept() {
|
||||||
return datadept;
|
return datadept;
|
||||||
}
|
}
|
||||||
public void setDatadept(String datadept) {
|
public void setDatadept(String datadept) {
|
||||||
this.datadept = datadept;
|
this.datadept = datadept;
|
||||||
}
|
}
|
||||||
public String getBatid() {
|
public String getBatid() {
|
||||||
return batid;
|
return batid;
|
||||||
}
|
}
|
||||||
public void setBatid(String batid) {
|
public void setBatid(String batid) {
|
||||||
this.batid = batid;
|
this.batid = batid;
|
||||||
}
|
}
|
||||||
public String getMaturity() {
|
public String getMaturity() {
|
||||||
return maturity;
|
return maturity;
|
||||||
}
|
}
|
||||||
public void setMaturity(String maturity) {
|
public void setMaturity(String maturity) {
|
||||||
this.maturity = maturity;
|
this.maturity = maturity;
|
||||||
}
|
}
|
||||||
public String getEntcusid() {
|
public String getEntcusid() {
|
||||||
return entcusid!=null ? entcusid : id ;
|
return entcusid!=null ? entcusid : id ;
|
||||||
}
|
}
|
||||||
public void setEntcusid(String entcusid) {
|
public void setEntcusid(String entcusid) {
|
||||||
this.entcusid = entcusid;
|
this.entcusid = entcusid;
|
||||||
}
|
}
|
||||||
public String getPinyin() {
|
public String getPinyin() {
|
||||||
return pinyin;
|
return pinyin;
|
||||||
}
|
}
|
||||||
public void setPinyin(String pinyin) {
|
public void setPinyin(String pinyin) {
|
||||||
this.pinyin = pinyin;
|
this.pinyin = pinyin;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
@ -26,89 +26,89 @@ 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)
|
||||||
public class KbsTopic extends ESBean implements java.io.Serializable , UKAgg{
|
public class KbsTopic extends ESBean implements java.io.Serializable , UKAgg{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private String id = MainUtils.getUUID();
|
private String id = MainUtils.getUUID();
|
||||||
|
|
||||||
private String sessionid ;
|
private String sessionid ;
|
||||||
|
|
||||||
private String title ; //标题
|
private String title ; //标题
|
||||||
private String content ; //内容
|
private String content ; //内容
|
||||||
private String weixin; //微信渠道回复
|
private String weixin; //微信渠道回复
|
||||||
private String email ; //邮件渠道回复
|
private String email ; //邮件渠道回复
|
||||||
private String sms ; //短信回复
|
private String sms ; //短信回复
|
||||||
private String tts ; //语音播报回复
|
private String tts ; //语音播报回复
|
||||||
|
|
||||||
private float price ; //问题价格
|
private float price ; //问题价格
|
||||||
private String keyword ; //关键词
|
private String keyword ; //关键词
|
||||||
private String summary ; //摘要
|
private String summary ; //摘要
|
||||||
private String tags ; //标签
|
private String tags ; //标签
|
||||||
private boolean anonymous ; //是否匿名提问
|
private boolean anonymous ; //是否匿名提问
|
||||||
private boolean datastatus ; //逻辑删除
|
private boolean datastatus ; //逻辑删除
|
||||||
|
|
||||||
private boolean approval ; //是否已经审批通过
|
private boolean approval ; //是否已经审批通过
|
||||||
|
|
||||||
|
|
||||||
private Date begintime ; //有效期开始
|
private Date begintime ; //有效期开始
|
||||||
|
|
||||||
private Date endtime ; //有效期结束
|
private Date endtime ; //有效期结束
|
||||||
|
|
||||||
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();
|
||||||
|
|
||||||
private Date updatetime = new Date();
|
private Date updatetime = new Date();
|
||||||
private String memo;
|
private String memo;
|
||||||
private String organ;
|
private String organ;
|
||||||
|
|
||||||
private int rowcount ;
|
private int rowcount ;
|
||||||
private String key ;
|
private String key;
|
||||||
|
|
||||||
|
|
||||||
private User user ;
|
private User user;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the id
|
* @return the id
|
||||||
*/
|
*/
|
||||||
@Id
|
@Id
|
||||||
@Column(length = 32)
|
@Column(length = 32)
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@ public class KbsTopic extends ESBean implements java.io.Serializable , UKAgg{
|
|||||||
public void setSummary(String summary) {
|
public void setSummary(String summary) {
|
||||||
this.summary = summary;
|
this.summary = summary;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAnonymous() {
|
public boolean isAnonymous() {
|
||||||
return anonymous;
|
return anonymous;
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
@ -1,149 +1,149 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.chatopera.cc.model;
|
package com.chatopera.cc.model;
|
||||||
|
|
||||||
import com.chatopera.cc.basic.MainUtils;
|
import com.chatopera.cc.basic.MainUtils;
|
||||||
import org.apache.commons.codec.binary.Base64;
|
import org.apache.commons.codec.binary.Base64;
|
||||||
import org.hibernate.annotations.GenericGenerator;
|
import org.hibernate.annotations.GenericGenerator;
|
||||||
import org.springframework.data.elasticsearch.annotations.Document;
|
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 ;
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@Column(length = 32)
|
@Column(length = 32)
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
@GenericGenerator(name = "system-uuid", strategy = "uuid")
|
@GenericGenerator(name = "system-uuid", strategy = "uuid")
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
public void setId(String id) {
|
public void setId(String id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
public String getCode() {
|
public String getCode() {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
public void setCode(String code) {
|
public void setCode(String code) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getReporttype() {
|
public String getReporttype() {
|
||||||
return reporttype;
|
return reporttype;
|
||||||
}
|
}
|
||||||
public void setReporttype(String reporttype) {
|
public void setReporttype(String reporttype) {
|
||||||
this.reporttype = reporttype;
|
this.reporttype = reporttype;
|
||||||
}
|
}
|
||||||
public String getDicid() {
|
public String getDicid() {
|
||||||
return dicid;
|
return dicid;
|
||||||
}
|
}
|
||||||
public void setDicid(String dicid) {
|
public void setDicid(String dicid) {
|
||||||
this.dicid = dicid;
|
this.dicid = dicid;
|
||||||
}
|
}
|
||||||
public String getOrgi() {
|
public String getOrgi() {
|
||||||
return orgi;
|
return orgi;
|
||||||
}
|
}
|
||||||
public void setOrgi(String orgi) {
|
public void setOrgi(String orgi) {
|
||||||
this.orgi = orgi;
|
this.orgi = orgi;
|
||||||
}
|
}
|
||||||
public String getDataid() {
|
public String getDataid() {
|
||||||
return dataid;
|
return dataid;
|
||||||
}
|
}
|
||||||
public void setDataid(String dataid) {
|
public void setDataid(String dataid) {
|
||||||
this.dataid = dataid;
|
this.dataid = dataid;
|
||||||
}
|
}
|
||||||
public String getDataflag() {
|
public String getDataflag() {
|
||||||
return dataflag;
|
return dataflag;
|
||||||
}
|
}
|
||||||
public void setDataflag(String dataflag) {
|
public void setDataflag(String dataflag) {
|
||||||
this.dataflag = dataflag;
|
this.dataflag = dataflag;
|
||||||
}
|
}
|
||||||
public int getStartindex() {
|
public int getStartindex() {
|
||||||
return startindex;
|
return startindex;
|
||||||
}
|
}
|
||||||
public void setStartindex(int startindex) {
|
public void setStartindex(int startindex) {
|
||||||
this.startindex = startindex;
|
this.startindex = startindex;
|
||||||
}
|
}
|
||||||
public Date getStartdate() {
|
public Date getStartdate() {
|
||||||
return startdate;
|
return startdate;
|
||||||
}
|
}
|
||||||
public void setStartdate(Date startdate) {
|
public void setStartdate(Date startdate) {
|
||||||
this.startdate = startdate;
|
this.startdate = startdate;
|
||||||
}
|
}
|
||||||
public int getDataversion() {
|
public int getDataversion() {
|
||||||
return dataversion;
|
return dataversion;
|
||||||
}
|
}
|
||||||
public void setDataversion(int dataversion) {
|
public void setDataversion(int dataversion) {
|
||||||
this.dataversion = dataversion;
|
this.dataversion = dataversion;
|
||||||
}
|
}
|
||||||
public String getCreater() {
|
public String getCreater() {
|
||||||
return creater;
|
return creater;
|
||||||
}
|
}
|
||||||
public void setCreater(String creater) {
|
public void setCreater(String creater) {
|
||||||
this.creater = creater;
|
this.creater = creater;
|
||||||
}
|
}
|
||||||
public String getReportcontent() {
|
public String getReportcontent() {
|
||||||
return reportcontent;
|
return reportcontent;
|
||||||
}
|
}
|
||||||
public void setReportcontent(String reportcontent) {
|
public void setReportcontent(String reportcontent) {
|
||||||
this.reportcontent = reportcontent;
|
this.reportcontent = reportcontent;
|
||||||
}
|
}
|
||||||
public Date getCreatetime() {
|
public Date getCreatetime() {
|
||||||
return createtime;
|
return createtime;
|
||||||
}
|
}
|
||||||
public void setCreatetime(Date createtime) {
|
public void setCreatetime(Date createtime) {
|
||||||
this.createtime = createtime;
|
this.createtime = createtime;
|
||||||
}
|
}
|
||||||
@Transient
|
@Transient
|
||||||
public Report getReport() {
|
public Report getReport() {
|
||||||
Base64 base64 = new Base64();
|
Base64 base64 = new Base64();
|
||||||
try {
|
try {
|
||||||
return report!=null ? report : (report = (this.reportcontent==null?null:(Report) MainUtils.toObject(base64.decode(this.reportcontent))));
|
return report!=null ? report : (report = (this.reportcontent==null?null:(Report) MainUtils.toObject(base64.decode(this.reportcontent))));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return report;
|
return report;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,113 +1,113 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.chatopera.cc.model;
|
package com.chatopera.cc.model;
|
||||||
|
|
||||||
import com.chatopera.cc.basic.MainUtils;
|
import com.chatopera.cc.basic.MainUtils;
|
||||||
import org.hibernate.annotations.GenericGenerator;
|
import org.hibernate.annotations.GenericGenerator;
|
||||||
import org.springframework.data.elasticsearch.annotations.Document;
|
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)
|
||||||
public class QuickReply {
|
public class QuickReply {
|
||||||
|
|
||||||
private String id = MainUtils.getUUID();
|
private String id = MainUtils.getUUID();
|
||||||
|
|
||||||
private String title ; //标题
|
private String title ; //标题
|
||||||
private String content ; //内容
|
private String content ; //内容
|
||||||
|
|
||||||
private String type ; //公用 /私有
|
private String type ; //公用 /私有
|
||||||
private String creater; //创建人
|
private String creater; //创建人
|
||||||
private Date createtime = new Date(); //创建时间
|
private Date createtime = new Date(); //创建时间
|
||||||
|
|
||||||
private String orgi ; //
|
private String orgi ; //
|
||||||
|
|
||||||
private String cate ; //所属分类
|
private String cate ; //所属分类
|
||||||
|
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@Column(length = 32)
|
@Column(length = 32)
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setId(String id) {
|
public void setId(String id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTitle(String title) {
|
public void setTitle(String title) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getContent() {
|
public String getContent() {
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setContent(String content) {
|
public void setContent(String content) {
|
||||||
this.content = content;
|
this.content = content;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getType() {
|
public String getType() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCreater() {
|
public String getCreater() {
|
||||||
return creater;
|
return creater;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCreater(String creater) {
|
public void setCreater(String creater) {
|
||||||
this.creater = creater;
|
this.creater = creater;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getCreatetime() {
|
public Date getCreatetime() {
|
||||||
return createtime;
|
return createtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCreatetime(Date createtime) {
|
public void setCreatetime(Date createtime) {
|
||||||
this.createtime = createtime;
|
this.createtime = createtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCate() {
|
public String getCate() {
|
||||||
return cate;
|
return cate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCate(String cate) {
|
public void setCate(String cate) {
|
||||||
this.cate = cate;
|
this.cate = cate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getOrgi() {
|
public String getOrgi() {
|
||||||
return orgi;
|
return orgi;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setOrgi(String orgi) {
|
public void setOrgi(String orgi) {
|
||||||
this.orgi = orgi;
|
this.orgi = orgi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,272 +1,273 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.chatopera.cc.model;
|
package com.chatopera.cc.model;
|
||||||
|
|
||||||
import com.chatopera.cc.basic.MainUtils;
|
import com.chatopera.cc.basic.MainUtils;
|
||||||
import org.hibernate.annotations.GenericGenerator;
|
import org.hibernate.annotations.GenericGenerator;
|
||||||
import org.springframework.data.elasticsearch.annotations.Document;
|
import org.springframework.data.elasticsearch.annotations.Document;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.ArrayList;
|
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
|
|
||||||
@Column(length = 32)
|
@Id
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@Column(length = 32)
|
||||||
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
public String getId() {
|
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
||||||
return id;
|
public String getId() {
|
||||||
}
|
return id;
|
||||||
public void setId(String id) {
|
}
|
||||||
this.id = id;
|
public void setId(String id) {
|
||||||
}
|
this.id = id;
|
||||||
public String getName() {
|
}
|
||||||
return name;
|
public String getName() {
|
||||||
}
|
return name;
|
||||||
public void setName(String name) {
|
}
|
||||||
this.name = name;
|
public void setName(String name) {
|
||||||
}
|
this.name = name;
|
||||||
public String getReporttype() {
|
}
|
||||||
return reporttype;
|
public String getReporttype() {
|
||||||
}
|
return reporttype;
|
||||||
public void setReporttype(String reporttype) {
|
}
|
||||||
this.reporttype = reporttype;
|
public void setReporttype(String reporttype) {
|
||||||
}
|
this.reporttype = reporttype;
|
||||||
public String getViewtype() {
|
}
|
||||||
return viewtype;
|
public String getViewtype() {
|
||||||
}
|
return viewtype;
|
||||||
public void setViewtype(String viewtype) {
|
}
|
||||||
this.viewtype = viewtype;
|
public void setViewtype(String viewtype) {
|
||||||
}
|
this.viewtype = viewtype;
|
||||||
public String getCode() {
|
}
|
||||||
return code;
|
public String getCode() {
|
||||||
}
|
return code;
|
||||||
public void setCode(String code) {
|
}
|
||||||
this.code = code;
|
public void setCode(String code) {
|
||||||
}
|
this.code = code;
|
||||||
public String getOrgi() {
|
}
|
||||||
return orgi;
|
public String getOrgi() {
|
||||||
}
|
return orgi;
|
||||||
public void setOrgi(String orgi) {
|
}
|
||||||
this.orgi = orgi;
|
public void setOrgi(String orgi) {
|
||||||
}
|
this.orgi = orgi;
|
||||||
public int getObjectcount() {
|
}
|
||||||
return objectcount;
|
public int getObjectcount() {
|
||||||
}
|
return objectcount;
|
||||||
public void setObjectcount(int objectcount) {
|
}
|
||||||
this.objectcount = objectcount;
|
public void setObjectcount(int objectcount) {
|
||||||
}
|
this.objectcount = objectcount;
|
||||||
public String getDicid() {
|
}
|
||||||
return dicid;
|
public String getDicid() {
|
||||||
}
|
return dicid;
|
||||||
public void setDicid(String dicid) {
|
}
|
||||||
this.dicid = dicid;
|
public void setDicid(String dicid) {
|
||||||
}
|
this.dicid = dicid;
|
||||||
public String getDescription() {
|
}
|
||||||
return description;
|
public String getDescription() {
|
||||||
}
|
return description;
|
||||||
public void setDescription(String description) {
|
}
|
||||||
this.description = description;
|
public void setDescription(String description) {
|
||||||
}
|
this.description = description;
|
||||||
public Date getCreatetime() {
|
}
|
||||||
return createtime;
|
public Date getCreatetime() {
|
||||||
}
|
return createtime;
|
||||||
public void setCreatetime(Date createtime) {
|
}
|
||||||
this.createtime = createtime;
|
public void setCreatetime(Date createtime) {
|
||||||
}
|
this.createtime = createtime;
|
||||||
public String getHtml() {
|
}
|
||||||
return html;
|
public String getHtml() {
|
||||||
}
|
return html;
|
||||||
public void setHtml(String html) {
|
}
|
||||||
this.html = html;
|
public void setHtml(String html) {
|
||||||
}
|
this.html = html;
|
||||||
public String getStatus() {
|
}
|
||||||
return status;
|
public String getStatus() {
|
||||||
}
|
return status;
|
||||||
public void setStatus(String status) {
|
}
|
||||||
this.status = status;
|
public void setStatus(String status) {
|
||||||
}
|
this.status = status;
|
||||||
public String getRolename() {
|
}
|
||||||
return rolename;
|
public String getRolename() {
|
||||||
}
|
return rolename;
|
||||||
public void setRolename(String rolename) {
|
}
|
||||||
this.rolename = rolename;
|
public void setRolename(String rolename) {
|
||||||
}
|
this.rolename = rolename;
|
||||||
public String getUserid() {
|
}
|
||||||
return userid;
|
public String getUserid() {
|
||||||
}
|
return userid;
|
||||||
public void setUserid(String userid) {
|
}
|
||||||
this.userid = userid;
|
public void setUserid(String userid) {
|
||||||
}
|
this.userid = userid;
|
||||||
public String getBlacklist() {
|
}
|
||||||
return blacklist;
|
public String getBlacklist() {
|
||||||
}
|
return blacklist;
|
||||||
public void setBlacklist(String blacklist) {
|
}
|
||||||
this.blacklist = blacklist;
|
public void setBlacklist(String blacklist) {
|
||||||
}
|
this.blacklist = blacklist;
|
||||||
public String getReportpackage() {
|
}
|
||||||
return reportpackage;
|
public String getReportpackage() {
|
||||||
}
|
return reportpackage;
|
||||||
public void setReportpackage(String reportpackage) {
|
}
|
||||||
this.reportpackage = reportpackage;
|
public void setReportpackage(String reportpackage) {
|
||||||
}
|
this.reportpackage = reportpackage;
|
||||||
public String getUseacl() {
|
}
|
||||||
return useacl;
|
public String getUseacl() {
|
||||||
}
|
return useacl;
|
||||||
public void setUseacl(String useacl) {
|
}
|
||||||
this.useacl = useacl;
|
public void setUseacl(String useacl) {
|
||||||
}
|
this.useacl = useacl;
|
||||||
public String getReportmodel() {
|
}
|
||||||
return reportmodel;
|
public String getReportmodel() {
|
||||||
}
|
return reportmodel;
|
||||||
public void setReportmodel(String reportmodel) {
|
}
|
||||||
this.reportmodel = reportmodel;
|
public void setReportmodel(String reportmodel) {
|
||||||
}
|
this.reportmodel = reportmodel;
|
||||||
public Date getUpdatetime() {
|
}
|
||||||
return updatetime;
|
public Date getUpdatetime() {
|
||||||
}
|
return updatetime;
|
||||||
public void setUpdatetime(Date updatetime) {
|
}
|
||||||
this.updatetime = updatetime;
|
public void setUpdatetime(Date updatetime) {
|
||||||
}
|
this.updatetime = updatetime;
|
||||||
public boolean isDatastatus() {
|
}
|
||||||
return datastatus;
|
public boolean isDatastatus() {
|
||||||
}
|
return datastatus;
|
||||||
public void setDatastatus(boolean datastatus) {
|
}
|
||||||
this.datastatus = datastatus;
|
public void setDatastatus(boolean datastatus) {
|
||||||
}
|
this.datastatus = datastatus;
|
||||||
public String getCreater() {
|
}
|
||||||
return creater;
|
public String getCreater() {
|
||||||
}
|
return creater;
|
||||||
public void setCreater(String creater) {
|
}
|
||||||
this.creater = creater;
|
public void setCreater(String creater) {
|
||||||
}
|
this.creater = creater;
|
||||||
public int getReportversion() {
|
}
|
||||||
return reportversion;
|
public int getReportversion() {
|
||||||
}
|
return reportversion;
|
||||||
public void setReportversion(int reportversion) {
|
}
|
||||||
this.reportversion = reportversion;
|
public void setReportversion(int reportversion) {
|
||||||
}
|
this.reportversion = reportversion;
|
||||||
public String getPublishedtype() {
|
}
|
||||||
return publishedtype;
|
public String getPublishedtype() {
|
||||||
}
|
return publishedtype;
|
||||||
public void setPublishedtype(String publishedtype) {
|
}
|
||||||
this.publishedtype = publishedtype;
|
public void setPublishedtype(String publishedtype) {
|
||||||
}
|
this.publishedtype = publishedtype;
|
||||||
public String getTabtype() {
|
}
|
||||||
return tabtype;
|
public String getTabtype() {
|
||||||
}
|
return tabtype;
|
||||||
public void setTabtype(String tabtype) {
|
}
|
||||||
this.tabtype = tabtype;
|
public void setTabtype(String tabtype) {
|
||||||
}
|
this.tabtype = tabtype;
|
||||||
public String getUsername() {
|
}
|
||||||
return username;
|
public String getUsername() {
|
||||||
}
|
return username;
|
||||||
public void setUsername(String username) {
|
}
|
||||||
this.username = username;
|
public void setUsername(String username) {
|
||||||
}
|
this.username = username;
|
||||||
public String getUseremail() {
|
}
|
||||||
return useremail;
|
public String getUseremail() {
|
||||||
}
|
return useremail;
|
||||||
public void setUseremail(String useremail) {
|
}
|
||||||
this.useremail = useremail;
|
public void setUseremail(String useremail) {
|
||||||
}
|
this.useremail = useremail;
|
||||||
public boolean isCache() {
|
}
|
||||||
return cache;
|
public boolean isCache() {
|
||||||
}
|
return cache;
|
||||||
public void setCache(boolean cache) {
|
}
|
||||||
this.cache = cache;
|
public void setCache(boolean cache) {
|
||||||
}
|
this.cache = cache;
|
||||||
public String getExtparam() {
|
}
|
||||||
return extparam;
|
public String getExtparam() {
|
||||||
}
|
return extparam;
|
||||||
public void setExtparam(String extparam) {
|
}
|
||||||
this.extparam = extparam;
|
public void setExtparam(String extparam) {
|
||||||
}
|
this.extparam = extparam;
|
||||||
public String getTargetreport() {
|
}
|
||||||
return targetreport;
|
public String getTargetreport() {
|
||||||
}
|
return targetreport;
|
||||||
public void setTargetreport(String targetreport) {
|
}
|
||||||
this.targetreport = targetreport;
|
public void setTargetreport(String targetreport) {
|
||||||
}
|
this.targetreport = targetreport;
|
||||||
public String getSource() {
|
}
|
||||||
return source;
|
public String getSource() {
|
||||||
}
|
return source;
|
||||||
public void setSource(String source) {
|
}
|
||||||
this.source = source;
|
public void setSource(String source) {
|
||||||
}
|
this.source = source;
|
||||||
@Transient
|
}
|
||||||
public List<ReportModel> getReportModels() {
|
@Transient
|
||||||
return reportModels;
|
public List<ReportModel> getReportModels() {
|
||||||
}
|
return reportModels;
|
||||||
public void setReportModels(List<ReportModel> reportModels) {
|
}
|
||||||
this.reportModels = reportModels;
|
public void setReportModels(List<ReportModel> reportModels) {
|
||||||
}
|
this.reportModels = reportModels;
|
||||||
@Transient
|
}
|
||||||
public List<ReportFilter> getReportFilters() {
|
@Transient
|
||||||
return reportFilters;
|
public List<ReportFilter> getReportFilters() {
|
||||||
}
|
return reportFilters;
|
||||||
public void setReportFilters(List<ReportFilter> reportFilters) {
|
}
|
||||||
this.reportFilters = reportFilters;
|
public void setReportFilters(List<ReportFilter> reportFilters) {
|
||||||
}
|
this.reportFilters = reportFilters;
|
||||||
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
|
@ -29,87 +29,85 @@ 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)
|
||||||
public class Topic implements java.io.Serializable{
|
public class Topic 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 sessionid ;
|
private String sessionid ;
|
||||||
|
|
||||||
private String title ; //标题
|
private String title ; //标题
|
||||||
private String content ; //内容
|
private String content ; //内容
|
||||||
private String weixin; //微信渠道回复
|
private String weixin; //微信渠道回复
|
||||||
private String email ; //邮件渠道回复
|
private String email ; //邮件渠道回复
|
||||||
private String sms ; //短信回复
|
private String sms ; //短信回复
|
||||||
private String tts ; //语音播报回复
|
private String tts ; //语音播报回复
|
||||||
|
|
||||||
private float price ; //问题价格
|
private float price ; //问题价格
|
||||||
private String keyword ; //关键词
|
private String keyword ; //关键词
|
||||||
private String summary ; //摘要
|
private String summary ; //摘要
|
||||||
private boolean anonymous ; //是否匿名提问
|
private boolean anonymous ; //是否匿名提问
|
||||||
|
|
||||||
|
|
||||||
private Date begintime ; //有效期开始
|
private Date begintime ; //有效期开始
|
||||||
|
|
||||||
private Date endtime ; //有效期结束
|
private Date endtime ; //有效期结束
|
||||||
|
|
||||||
private boolean top ; //是否置顶
|
private boolean top ; //是否置顶
|
||||||
private boolean essence ; //是否精华
|
private boolean essence ; //是否精华
|
||||||
private boolean accept ; //是否已采纳最佳答案
|
private boolean accept ; //是否已采纳最佳答案
|
||||||
private boolean finish ; //结贴
|
private boolean finish ; //结贴
|
||||||
|
|
||||||
|
|
||||||
@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();
|
||||||
|
|
||||||
private Date updatetime = new Date();
|
private Date updatetime = new Date();
|
||||||
private String memo;
|
private String memo;
|
||||||
private String organ;
|
private String organ;
|
||||||
|
|
||||||
private String aiid ; //机器人ID
|
|
||||||
|
|
||||||
|
|
||||||
private User user ;
|
|
||||||
|
|
||||||
|
private String aiid ; //机器人ID
|
||||||
|
|
||||||
|
|
||||||
|
private User user;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the id
|
* @return the id
|
||||||
*/
|
*/
|
||||||
@Id
|
@Id
|
||||||
@Column(length = 32)
|
@Column(length = 32)
|
||||||
@GeneratedValue(generator = "system-uuid")
|
@GeneratedValue(generator = "system-uuid")
|
||||||
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
@GenericGenerator(name = "system-uuid", strategy = "assigned")
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -163,7 +161,7 @@ public class Topic implements java.io.Serializable{
|
|||||||
public void setSummary(String summary) {
|
public void setSummary(String summary) {
|
||||||
this.summary = summary;
|
this.summary = summary;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAnonymous() {
|
public boolean isAnonymous() {
|
||||||
return anonymous;
|
return anonymous;
|
||||||
}
|
}
|
||||||
@ -409,5 +407,5 @@ public class Topic implements java.io.Serializable{
|
|||||||
public void setAiid(String aiid) {
|
public void setAiid(String aiid) {
|
||||||
this.aiid = aiid;
|
this.aiid = aiid;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user