| | |
| | | package com.moral.yunfushao.model; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | |
| | | /** |
| | | * Created by haijiang on 2017/2/20. |
| | | */ |
| | | |
| | | public class User { |
| | | @JSONField(name="_id") |
| | | private String _id;//用户id |
| | | private String phone; //手机号码 |
| | | private String encypt; //随机码 |
| | | private String password; //密码 |
| | | private String nickname; //用户昵称 |
| | | private int refresh_frequency; //刷新频率 |
| | | private int is_open_upload; //是否开启上传 |
| | | private int is_lock; //是否被锁定,0表示未锁定,1表示锁定 |
| | | private int video; // |
| | | |
| | | public String get_id() { |
| | | return _id; |
| | | } |
| | | |
| | | public void set_id(String _id) { |
| | | this._id = _id; |
| | | } |
| | | |
| | | public String getPhone() { |
| | | return phone; |
| | | } |
| | | |
| | | public void setPhone(String phone) { |
| | | this.phone = phone; |
| | | } |
| | | |
| | | public String getEncypt() { |
| | | return encypt; |
| | | } |
| | | |
| | | public void setEncypt(String encypt) { |
| | | this.encypt = encypt; |
| | | } |
| | | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | | |
| | | public void setPassword(String password) { |
| | | this.password = password; |
| | | } |
| | | |
| | | public String getNickname() { |
| | | return nickname; |
| | | } |
| | | |
| | | public void setNickname(String nickname) { |
| | | this.nickname = nickname; |
| | | } |
| | | |
| | | public int getRefresh_frequency() { |
| | | return refresh_frequency; |
| | | } |
| | | |
| | | public void setRefresh_frequency(int refresh_frequency) { |
| | | this.refresh_frequency = refresh_frequency; |
| | | } |
| | | |
| | | public int getIs_open_upload() { |
| | | return is_open_upload; |
| | | } |
| | | |
| | | public void setIs_open_upload(int is_open_upload) { |
| | | this.is_open_upload = is_open_upload; |
| | | } |
| | | |
| | | public int getIs_lock() { |
| | | return is_lock; |
| | | } |
| | | |
| | | public void setIs_lock(int is_lock) { |
| | | this.is_lock = is_lock; |
| | | } |
| | | |
| | | public int getVideo() { |
| | | return video; |
| | | } |
| | | |
| | | public void setVideo(int video) { |
| | | this.video = video; |
| | | } |
| | | } |