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_course_evaluate
 *
 * @author ruoyi
 * @date 2024-09-14
 */
@Getter
@Setter
@ToString
public class TbCourseEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程评价主键ID */
    private Long courseEvaluateId;

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

    /** 学员ID */
    @Excel(name = "学员ID")
    private Long studentId;

    /** 学员名 */
    @Excel(name = "学员名")
    private String studentName;

    /** 学员头像 */
    @Excel(name = "学员头像")
    private String studentPicture;

    /** 评价星级 */
    @Excel(name = "评价星级")
    private Integer evaluateStar;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String evaluateContent;

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

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

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

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

    /** 发布人 */
    @Excel(name = "发布人")
    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;

}
