package com.tcm.training.admin.app.settings.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; /** * APP 用户通知设置实体。 */ @TableName("tcm_app_user_notification_setting") @Getter @Setter @NoArgsConstructor public class AppUserNotificationSetting { @TableId(type = IdType.AUTO) private Long id; @TableField("app_user_id") private Long appUserId; @TableField("order_status_update_enabled") private Integer orderStatusUpdateEnabled; @TableField("activity_notice_enabled") private Integer activityNoticeEnabled; @TableField("course_update_enabled") private Integer courseUpdateEnabled; @TableField("live_reservation_enabled") private Integer liveReservationEnabled; @TableField("advance_notice_minutes") private Integer advanceNoticeMinutes; @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; }