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

    /** 老师课程关联主键ID */
    private Long teacherCourseId;

    /** 老师ID */
    @Excel(name = "老师ID")
    private Long teacherId;

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

    /** 是否主讲（0-否，1-是） */
    @Excel(name = "是否主讲", readConverterExp = "0=否,1=是")
    private Integer isSpeak;

    /** 备注 */
    @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;

    /** 老师姓名 */
    private String teacherName;

    /** 老师头像 */
    private String teacherImage;

}
