44323
2023-11-27 aa925d851857f50eff0556411366690d9a78a0e5
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
package com.dsh.activity.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 lombok.Data;
 
import java.util.Date;
 
/**
 * @author zhibing.pu
 * @date 2023/7/11 17:28
 */
@Data
@TableName("t_benefits_video_classification")
public class BenefitsVideoClassification {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 分类名称
     */
    @TableField("name")
    private String name;
    /**
     * 位置(1=线上课得积分,2=看视频得奖励)
     */
    @TableField("position")
    private Integer position;
    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;
    /**
     * 添加时间
     */
    @TableField("insertTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date insertTime;
    /**
     * 状态 1=正常 2=下架 3=删除
     */
    @TableField("state")
    private Integer state;
}