package com.ruoyi.hezhi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 用户讨论对象 tb_member_discuss
 *
 * @author ruoyi
 * @date 2024-11-19
 */
@Getter
@Setter
@ToString
public class TbMemberDiscuss extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户讨论主键ID */
    private Long memberDiscussId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long memberUserId;

    /** 直播ID */
    @Excel(name = "直播ID")
    private Long liveBroadcastId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 章节ID */
    @Excel(name = "章节ID")
    private Long chapterId;

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

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 状态（0-显示，1-隐藏） */
    @Excel(name = "状态", readConverterExp = "0=-显示，1-隐藏")
    private Integer status;

    /** 发布时间 */
    private Date publicationTime;

    /** 发布人 */
    private String publisher;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除标记（0-正常，1-删除） */
    private Integer delFlag;

}
