“mitao”
2026-03-27 cde5977f64ff1dfa928d1076c059e8865c02d70b
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.tcm.training.admin.system.entity;
 
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.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
 
import java.time.LocalDateTime;
 
@TableName("tcm_message_push_config")
@Getter
@Setter
@NoArgsConstructor
public class MessagePushConfig {
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    @TableField("notice_type_code")
    private String noticeTypeCode;
 
    @TableField("notice_type_name")
    private String noticeTypeName;
 
    @TableField("push_enabled")
    private Integer pushEnabled;
 
    @TableField("sms_enabled")
    private Integer smsEnabled;
 
    @TableLogic
    private Integer deleted;
 
    @TableField(value = "created_by", fill = FieldFill.INSERT)
    private String createdBy;
 
    @TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;
 
    @TableField("created_at")
    private LocalDateTime createdAt;
 
    @TableField("updated_at")
    private LocalDateTime updatedAt;
}