liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.signuserreg.entity;
 
import org.hibernate.validator.constraints.Length;
import com.jeeplus.modules.sys.entity.Office;
 
import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
 
/**
 * 签到用户卡注册Entity
 * @author jinlong
 * @version 2016-04-19
 */
public class Formsignuser extends DataEntity<Formsignuser> {
    
    private static final long serialVersionUID = 1L;
    private String suserid;        // 学号
    private String suername;        // 姓名
    private String cardid;        // 一卡通编号
    private String susersex;        // 性别
    private Office office;        // 部门/年级
    private String susertype;        // 类型
    private String suserstatus;        // 状态
    private String suserother;        // 其他信息
    
    public Formsignuser() {
        super();
    }
 
    public Formsignuser(String id){
        super(id);
    }
 
    @Length(min=0, max=64, message="学号长度必须介于 0 和 64 之间")
    @ExcelField(title="学号", align=2, sort=7)
    public String getSuserid() {
        return suserid;
    }
 
    public void setSuserid(String suserid) {
        this.suserid = suserid;
    }
    
    @Length(min=0, max=64, message="姓名长度必须介于 0 和 64 之间")
    @ExcelField(title="姓名", align=2, sort=8)
    public String getSuername() {
        return suername;
    }
 
    public void setSuername(String suername) {
        this.suername = suername;
    }
    
    @Length(min=0, max=64, message="一卡通编号长度必须介于 0 和 64 之间")
    @ExcelField(title="一卡通编号", align=2, sort=9)
    public String getCardid() {
        return cardid;
    }
 
    public void setCardid(String cardid) {
        this.cardid = cardid;
    }
    
    @Length(min=0, max=64, message="性别长度必须介于 0 和 64 之间")
    @ExcelField(title="性别", dictType="sex", align=2, sort=10)
    public String getSusersex() {
        return susersex;
    }
 
    public void setSusersex(String susersex) {
        this.susersex = susersex;
    }
    
    @ExcelField(title="部门/年级", fieldType=Office.class, value="office.name", align=2, sort=11)
    public Office getOffice() {
        return office;
    }
 
    public void setOffice(Office office) {
        this.office = office;
    }
    
    @Length(min=0, max=64, message="类型长度必须介于 0 和 64 之间")
    @ExcelField(title="类型", dictType="user_type", align=2, sort=12)
    public String getSusertype() {
        return susertype;
    }
 
    public void setSusertype(String susertype) {
        this.susertype = susertype;
    }
    
    @Length(min=0, max=64, message="状态长度必须介于 0 和 64 之间")
    @ExcelField(title="状态", dictType="user_status", align=2, sort=13)
    public String getSuserstatus() {
        return suserstatus;
    }
 
    public void setSuserstatus(String suserstatus) {
        this.suserstatus = suserstatus;
    }
    
    @Length(min=0, max=64, message="其他信息长度必须介于 0 和 64 之间")
    @ExcelField(title="其他信息", align=2, sort=14)
    public String getSuserother() {
        return suserother;
    }
 
    public void setSuserother(String suserother) {
        this.suserother = suserother;
    }
    
}