xuhy
2023-08-11 1ec67d10e570856dd15160507dd823ea1b19863e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.stylefeng.guns.modular.system.transfer;
 
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.NotNull;
 
/**
 * 添加管理员的请求bean
 *
 * @author fengshuonan
 * @Date 2017年1月12日 下午6:46:24
 */
public class ReqAddManager {
 
    // 用户姓名
    @NotNull
    private String userName;
 
    // 用户账号
    @NotNull
    private String userNo;
 
    // 手机号
    @NotNull
    @Length(min = 11, max = 11)
    private String userPhone;
 
    // 1:超级管理员 2:管理员
    @NotNull
    private String userRole;
 
    // 密码
    @NotNull
    private String userPassword;
 
    public String getUserName() {
        return userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
    }
 
    public String getUserNo() {
        return userNo;
    }
 
    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }
 
    public String getUserPhone() {
        return userPhone;
    }
 
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
 
    public String getUserRole() {
        return userRole;
    }
 
    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }
 
    public String getUserPassword() {
        return userPassword;
    }
 
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }
 
}