liujie
2025-12-29 b97ec797b8f07dbb21ea723e9f2c82b8e4a88e2f
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
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 java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 大屏-社区志愿者
 * </p>
 *
 * @author xiaochen
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_large_volunteer")
@ApiModel(value="TLargeVolunteer对象", description="大屏-社区志愿者")
public class TLargeVolunteer 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 = 40,message = "服务区域不能超过40个字符")
    @ApiModelProperty(value = "服务区域")
    @TableField("service_area")
    private String serviceArea;
 
    @ApiModelProperty(value = "注册日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("register_date")
    private LocalDateTime registerDate;
 
    @ApiModelProperty(value = "总服务时长")
    @TableField("total_service_duration")
    private BigDecimal totalServiceDuration;
 
    @ApiModelProperty(value = "加入队伍时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("join_team_date")
    private LocalDateTime joinTeamDate;
 
}