xuhy
2026-03-27 0923c2a6f1a7b4d28e39f566f9ff27557e2bf250
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
package com.ruoyi.system.model;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 大屏-社会工作者
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_social_worker")
@ApiModel(value="TLargeSocialWorker对象", description="大屏-社会工作者")
public class TLargeSocialWorker extends BaseModel {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
 
    @Length(max = 20,message = "姓名不能超过20个字符")
    @ApiModelProperty(value = "姓名")
    @TableField("user_name")
    private String userName;
 
    @ApiModelProperty(value = "性别 1=男 2=女")
    @TableField("user_sex")
    private Integer userSex;
 
    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("birth_date")
    private LocalDate birthDate;
 
    @Length(max = 20,message = "文化程度不能超过20个字符")
    @ApiModelProperty(value = "文化程度")
    @TableField("educational_level")
    private String educationalLevel;
 
    @Length(max = 20,message = "政治面貌不能超过20个字符")
    @ApiModelProperty(value = "政治面貌")
    @TableField("political_status")
    private String politicalStatus;
 
    @Pattern(regexp = "^$|^1[3-9]\\d{9}$",message = "手机号格式不正确")
    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;
 
    @Length(max = 40,message = "工作单位及职务不能超过40个字符")
    @ApiModelProperty(value = "工作单位及职务")
    @TableField("employer_position")
    private String employerPosition;
 
    @ApiModelProperty(value = "职业资格等级 1=初级 2=中级 3=高级")
    @TableField("qualification_level")
    private Integer qualificationLevel;
 
}