package com.yeshi.fanli.entity.customerservice; import java.util.Date; import com.google.gson.annotations.Expose; import org.yeshi.utils.mybatis.Column; import org.yeshi.utils.mybatis.Table; /** * 客服系统中的常见消息 * * @author Administrator * */ @Table("yeshi_ec_customer_service_common_question") public class CustomerServiceCommonQuestion { public final static String TYPE_TEXT = "text";// 纯文本 public final static String TYPE_WEB = "web";// 网页 @Expose @Column(name = "cscq_id") private Long id; @Expose @Column(name = "cscq_key") private String key; @Expose @Column(name = "cscq_content") private String content; @Expose @Column(name = "cscq_content_type") private String contentType; // 是否启用 @Column(name = "cscq_state") private boolean state; @Column(name = "cscq_weight") private Integer weight; @Column(name = "cscq_createtime") private Date createTime; @Column(name = "cscq_updatetime") private Date updateTime; // 显示选择项 @Expose private boolean showChoice; public boolean isShowChoice() { return showChoice; } public void setShowChoice(boolean showChoice) { this.showChoice = showChoice; } public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Integer getWeight() { return weight; } public void setWeight(Integer weight) { this.weight = weight; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public boolean isState() { return state; } public void setState(boolean state) { this.state = state; } }