| | |
| | | package com.yeshi.fanli.entity.bus.user.vip;
|
| | |
|
| | | 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 = "tearcherInfo")
|
| | | public class TearcherInfo {
|
| | |
|
| | | public final static int TYPE_OFFICIAL = 1;// 官方导师
|
| | |
|
| | | @Id
|
| | | private String id;
|
| | | @Field
|
| | | private Integer type;
|
| | | @Field
|
| | | private String nickName;// 昵称
|
| | | @Field
|
| | | private String portrait;// 头像
|
| | | @Field
|
| | | private String wxID;// 微信号
|
| | | @Field
|
| | | private String phone;// 手机号
|
| | |
|
| | | public TearcherInfo(String id) {
|
| | | super();
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public TearcherInfo() {
|
| | | }
|
| | |
|
| | | public Integer getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(Integer type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getWxID() {
|
| | | return wxID;
|
| | | }
|
| | |
|
| | | public void setWxID(String wxID) {
|
| | | this.wxID = wxID;
|
| | | }
|
| | |
|
| | | public String getNickName() {
|
| | | return nickName;
|
| | | }
|
| | |
|
| | | public void setNickName(String nickName) {
|
| | | this.nickName = nickName;
|
| | | }
|
| | |
|
| | | public String getPortrait() {
|
| | | return portrait;
|
| | | }
|
| | |
|
| | | public void setPortrait(String portrait) {
|
| | | this.portrait = portrait;
|
| | | }
|
| | |
|
| | | public String getPhone() {
|
| | | return phone;
|
| | | }
|
| | |
|
| | | public void setPhone(String phone) {
|
| | | this.phone = phone;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user.vip; |
| | | |
| | | 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 = "tearcherInfo") |
| | | public class TearcherInfo { |
| | | |
| | | public final static int TYPE_OFFICIAL = 1;// 官方导师 |
| | | |
| | | @Id |
| | | private String id; |
| | | @Field |
| | | private Integer type; |
| | | @Field |
| | | private String nickName;// 昵称 |
| | | @Field |
| | | private String portrait;// 头像 |
| | | @Field |
| | | private String wxID;// 微信号 |
| | | @Field |
| | | private String phone;// 手机号 |
| | | |
| | | public TearcherInfo(String id) { |
| | | super(); |
| | | this.id = id; |
| | | } |
| | | |
| | | public TearcherInfo() { |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getWxID() { |
| | | return wxID; |
| | | } |
| | | |
| | | public void setWxID(String wxID) { |
| | | this.wxID = wxID; |
| | | } |
| | | |
| | | public String getNickName() { |
| | | return nickName; |
| | | } |
| | | |
| | | public void setNickName(String nickName) { |
| | | this.nickName = nickName; |
| | | } |
| | | |
| | | public String getPortrait() { |
| | | return portrait; |
| | | } |
| | | |
| | | public void setPortrait(String portrait) { |
| | | this.portrait = portrait; |
| | | } |
| | | |
| | | public String getPhone() { |
| | | return phone; |
| | | } |
| | | |
| | | public void setPhone(String phone) { |
| | | this.phone = phone; |
| | | } |
| | | } |