package yangtz.cs.liu.wechat.vo.schoolResource;

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

import java.util.Date;

@Data
public class SchoolResourcesDetailsCommentVo extends OurBaseEntity {
    private static final long serialVersionUID = 1L;

    /** 资源文件id */
    private Integer detailsId;

    /** 用户id */
    private Integer userId;

    /** 评论内容 */
    private String comment;

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

    private String parentName;

    private String avatar;

}
