package com.zhongshu.card.client.model.school;

import com.zhongshu.card.client.model.base.SuperModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author TRX
 * @date 2024/6/7
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeInfoModel extends SuperModel {
    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "发布对象")
    private String author;

    @Schema(description = "阅读次数")
    private Long viewTimes = 0L;

    @Schema(description = "是否置顶")
    private Boolean isTopping = Boolean.FALSE;

    @Schema(description = "置顶时间")
    private Long toppingTime = 0L;
}
