You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
61 lines
1.2 KiB
package com.community.pocket.entity.po;
|
|
|
|
import com.community.pocket.util.TableName;
|
|
import org.springframework.data.annotation.Id;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
//管理员
|
|
@Document(TableName.manager)
|
|
public class Manager {
|
|
// 管理员
|
|
@Id
|
|
private String managerName;
|
|
// 密码
|
|
private String password;
|
|
// 手机号
|
|
private Long mobile;
|
|
// 邮箱
|
|
private String email;
|
|
//令牌
|
|
private Token token;
|
|
|
|
public String getManagerName() {
|
|
return managerName;
|
|
}
|
|
|
|
public void setManagerName(String managerName) {
|
|
this.managerName = managerName;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
public Long getMobile() {
|
|
return mobile;
|
|
}
|
|
|
|
public void setMobile(Long mobile) {
|
|
this.mobile = mobile;
|
|
}
|
|
|
|
public String getEmail() {
|
|
return email;
|
|
}
|
|
|
|
public void setEmail(String email) {
|
|
this.email = email;
|
|
}
|
|
|
|
public Token getToken() {
|
|
return token;
|
|
}
|
|
|
|
public void setToken(Token token) {
|
|
this.token = token;
|
|
}
|
|
}
|
|
|