| | |
| | | package com.yeshi.fanli.entity.bus.help;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.annotation.PersistenceConstructor;
|
| | | import org.springframework.data.mongodb.core.mapping.Document;
|
| | |
|
| | | /**
|
| | | * 帮助中心详情页面
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Document(collection = "helpInfo")
|
| | | public class HelpInfo {
|
| | | @Id
|
| | | private Long id;// 帮助中心ID
|
| | | private String content;// 具体内容
|
| | | private String html;// 网页格式
|
| | |
|
| | | public HelpInfo() {
|
| | |
|
| | | }
|
| | |
|
| | | @PersistenceConstructor
|
| | | public HelpInfo(Long id, String content, String html) {
|
| | | this.id = id;
|
| | | this.content = content;
|
| | | this.html = html;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getContent() {
|
| | | return content;
|
| | | }
|
| | |
|
| | | public void setContent(String content) {
|
| | | this.content = content;
|
| | | }
|
| | |
|
| | | public String getHtml() {
|
| | | return html;
|
| | | }
|
| | |
|
| | | public void setHtml(String html) {
|
| | | this.html = html;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.help; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.annotation.PersistenceConstructor; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | |
| | | /** |
| | | * 帮助中心详情页面 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Document(collection = "helpInfo") |
| | | public class HelpInfo implements Serializable{ |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | @Id |
| | | private Long id;// 帮助中心ID |
| | | private String content;// 具体内容 |
| | | private String html;// 网页格式 |
| | | |
| | | public HelpInfo() { |
| | | |
| | | } |
| | | |
| | | @PersistenceConstructor |
| | | public HelpInfo(Long id, String content, String html) { |
| | | this.id = id; |
| | | this.content = content; |
| | | this.html = html; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getHtml() { |
| | | return html; |
| | | } |
| | | |
| | | public void setHtml(String html) { |
| | | this.html = html; |
| | | } |
| | | |
| | | } |