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_trends
 *
 * @author ruoyi
 * @date 2024-09-14
 */
@Data
public class TrendsVO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 动态id */
    private Long trendsId;

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

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

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

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

}
