智慧保安后台管理-外网项目备份
Administrator
2021-07-18 5e3948796cb4171938ba23e39d071d371bb312a1
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.apply.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 考试报名实体类
 *
 * @author zhongrj
 * @since 2021-07-17
 */
@Data
@TableName("sys_apply")
public class Apply implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
 
    /**
     * 姓名
     */
    private String name;
 
 
    /**
     * 身高
     */
    private String height;
 
 
    /**
     * 体重
     */
    private String weight;
 
    /**
     * 年龄
     */
    private Integer age;
 
    /**
     * 电子头像,用于打印准考证
     */
    private String avatar;
 
    /**
     * 邮箱
     */
    private String email;
 
    /**
     * 手机
     */
    private String phone;
 
 
    /**
     * 性别
     */
    private Integer sex;
 
 
    /**
     * 身份证
     */
    @TableField("id_card_no")
    private String idCardNo;
 
 
    /**
     * 准考证号,通过审核后生成
     */
    @TableField("candidate_no")
    private String candidateNo;
 
    /**
     * 报名时间
     */
    @TableField("apply_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;
 
    /**
     * 审核时间
     */
    @TableField("audit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
 
    /**
     * 考试类型
     */
    @TableField("apply_exam_type")
    private Integer applyExamType;
 
    /**
     * 报名状态
     */
    @TableField("apply_status")
    private Integer applyStatus;
 
    /**
     * 审核失败原因
     */
    @TableField("fail_reason")
    private String failReason;
 
}