NotificationSetting.java 666 B

1234567891011121314151617181920212223
  1. package com.recycle.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.Data;
  6. import java.time.LocalDateTime;
  7. @Data
  8. @TableName("notification_settings")
  9. public class NotificationSetting {
  10. @TableId(type = IdType.AUTO)
  11. private Long id;
  12. private Long userId;
  13. private Integer systemAlerts;
  14. private Integer dataReports;
  15. private Integer policyUpdates;
  16. private Integer emailNotifications;
  17. private String email;
  18. private Integer smsNotifications;
  19. private String phone;
  20. private LocalDateTime updatedAt;
  21. }