package com.ruoyi.hezhi.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 案例对象 tb_case
 *
 * @author ruoyi
 * @date 2024-09-14
 */
@Data
public class CaseVO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 案例id */
    private Long caseId;

//    /** 案例类型id */
//    @Excel(name = "案例类型id")
//    private Long caseTypeId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String showImg;

    /** 简述 */
    @Excel(name = "简述")
    private String prospectus;

    /** 发布人 */
    @Excel(name = "发布人")
    private String publisher;

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

    /** 内容 */
    private String content;


}
