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

    /** 类型课程关联主键ID */
    private Long typeCourseId;

    /** 类型ID */
    @Excel(name = "类型ID")
    private Long caseTypeId;

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

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

}
