| | |
| | | package com.yeshi.fanli.entity.dynamic;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.mongodb.core.mapping.Document;
|
| | | import org.springframework.data.mongodb.core.mapping.Field;
|
| | |
|
| | | /**
|
| | | * 邀请问候图片文字信息 -素材
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Document(collection = "invite_material")
|
| | | public class InviteMaterial {
|
| | |
|
| | | @Id
|
| | | @Field("id")
|
| | | private String id;
|
| | | // 图片
|
| | | @Field("picture")
|
| | | private String picture;
|
| | | // 内容
|
| | | @Field("text")
|
| | | private String text;
|
| | | // 状态: 已发布1, 未发布0
|
| | | @Field("state")
|
| | | private Integer state;
|
| | | |
| | | |
| | |
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getPicture() {
|
| | | return picture;
|
| | | }
|
| | |
|
| | | public void setPicture(String picture) {
|
| | | this.picture = picture;
|
| | | }
|
| | |
|
| | | public String getText() {
|
| | | return text;
|
| | | }
|
| | |
|
| | | public void setText(String text) {
|
| | | this.text = text;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.dynamic; |
| | | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.springframework.data.mongodb.core.mapping.Field; |
| | | |
| | | /** |
| | | * 邀请问候图片文字信息 -素材 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Document(collection = "invite_material") |
| | | public class InviteMaterial { |
| | | |
| | | @Id |
| | | @Field("id") |
| | | private String id; |
| | | // 图片 |
| | | @Field("picture") |
| | | private String picture; |
| | | // 内容 |
| | | @Field("text") |
| | | private String text; |
| | | // 状态: 已发布1, 未发布0 |
| | | @Field("state") |
| | | private Integer state; |
| | | |
| | | |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public String getText() { |
| | | return text; |
| | | } |
| | | |
| | | public void setText(String text) { |
| | | this.text = text; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | } |