package cn.reghao.tnb.content.app.vod.model.po;

import cn.reghao.jutil.jdk.web.db.BaseObject;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

/**
 * @author reghao
 * @date 2023-12-07 14:03:51
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
public class SiteNotice extends BaseObject<Integer> {
    @NotBlank
    @Size(min = 1, max = 255, message = "站点公告内容不能超过 255 个字符")
    private String content;
    @NotNull
    private Long createBy;
}
