package com.srs.routine.domain;
import com.srs.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import com.srs.common.core.domain.BaseEntity;

/**
 * 通知管理对象 srs_notification
 *
 * @author srs
 * @date 2025-07-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "NotificationManagement对象" , description = "通知管理")
@TableName("srs_notification")
public class NotificationManagement extends BaseEntity{
    private static final long serialVersionUID=1L;

    /**
     * 通知ID
     */
    @ApiModelProperty("通知ID")
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "通知ID")
    private Long id;

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

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

    /**
     * 年级ID列表，以逗号分隔
     */
    @ApiModelProperty("年级ID列表，以逗号分隔")
    @TableField("grade_ids")
    @Excel(name = "年级ID列表")
    private String gradeIds;

    /**
     * 年级名称
     */
    @ApiModelProperty("年级名称")
    @TableField("gradeName")
    @Excel(name = "年级名称")
    private String gradeName;

    /**
     * 发送人用户ID
     */
    @ApiModelProperty("发送人用户ID")
    @TableField("sender")
    @Excel(name = "发送人用户ID")
    private Long sender;

    /**
     * 接收人用户ID（用于cph_msg表）
     */
    @ApiModelProperty("接收人用户ID")
    @TableField("receiver")
    private Long receiver;

}
