package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 notifications
 * 
 * @author ruoyi
 * @date 2025-08-23
 */
@Data
public class Notifications extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 通知标题 */
    @Excel(name = "通知标题")
    private String title;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String content;

    /** 通知类型 system */
    @Excel(name = "通知类型 system")
    private String notificationType;

    /** 附加数据，如跳转链接、图片URL等 预留字段 */
    @Excel(name = "附加数据，如跳转链接、图片URL等 预留字段")
    private String extraData;

    /** 创建者用户ID（关联您现有用户表） */
    @Excel(name = "创建者用户ID", readConverterExp = "关=联您现有用户表")
    private String creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updatedTime;

    /** 计划发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划发送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    private List<ShopUser> shopUsers;

}
