linwe
2024-09-03 764d883b5ea3bdc06abbec548b6df0511e567978
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
/*
 *      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.task.dto;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.task.entity.TaskSchoolEvenEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.util.Date;
 
/**
 * 校园事件 数据传输对象实体类
 *
 * @author BladeX
 * @since 2024-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskSchoolEvenDTO extends TaskSchoolEvenEntity {
    private static final long serialVersionUID = 1L;
 
 
    /** id */
    @ApiModelProperty(value = "主键ID", example = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /** 创建人 */
    @ApiModelProperty(value = "创建人", example = "")
    @TableField("create_user")
    private Long createUser;
 
    /** 图片 */
    @ApiModelProperty(value = "图片", example = "")
    @TableField("images")
    private String images;
 
    /** 描述 */
    @ApiModelProperty(value = "描述", example = "")
    @TableField("describe")
    private String describe;
 
    /** 隐患类型 */
    @ApiModelProperty(value = "隐患类型", example = "")
    @TableField("hidden_danger_type")
    private String hiddenDangerType;
 
    /** 类型 1:隐患 2:矛盾 */
    @ApiModelProperty(value = "类型 1:隐患 2:矛盾", example = "")
    @TableField("type")
    private String type;
 
    /** 是否问题 1:是 2:否 */
    @ApiModelProperty(value = "是否问题 1:是 2:否", example = "")
    @TableField("is_problem")
    private String isProblem;
 
    /** 是否处理 1:是 2:否 */
    @ApiModelProperty(value = "是否处理 1:是 2:否", example = "")
    @TableField("is_handle")
    private String isHandle;
 
    /** 是否上报 1:是 2:否 */
    @ApiModelProperty(value = "是否上报 1:是 2:否", example = "")
    @TableField("is_reporting")
    private String isReporting;
 
    /** 工作照片 */
    @ApiModelProperty(value = "工作照片", example = "")
    @TableField("work_image")
    private String workImage;
 
    /** 确认标记 1:待审核  2:审核通过  3:审核不通过  */
    @ApiModelProperty(value = "确认标记 1:待审核  2:审核通过  3:审核不通过 ", example = "")
    @TableField("confirm_flag")
    private String confirmFlag;
 
    /** 确认时间 */
    @ApiModelProperty(value = "确认时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("confirm_time")
    private Date confirmTime;
 
    /** 确认用户ID */
    @ApiModelProperty(value = "确认用户ID", example = "")
    @TableField("confirm_user_id")
    private Long confirmUserId;
 
    /** 确认用户ID */
    @ApiModelProperty(value = "确认用户ID", example = "")
    @TableField("confirm_user_name")
    private String confirmUserName;
 
    /** 确认意见 */
    @ApiModelProperty(value = "确认意见", example = "")
    @TableField("confirm_notion")
    private String confirmNotion;
 
    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
 
    /** 更新时间 */
    @ApiModelProperty(value = "更新时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private Date updateTime;
}