package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/*
 *项目名: netflix
 *文件名: DynamicList
 *创建者: JavaZou
 *创建时间:2023/2/21 14:20
 */
@Getter
@Setter
public class DynamicList extends BaseEntity{
	@NotEmpty(message = "图标不能为空")
	private String icon;

	@NotEmpty(message = "标题不能为空")
	private String title;

	private String link;

	/**
	 * 标签
	 */
	private String tag;

	private String picture;

	private String content;

	/**
	 * 1动态、2商务
	 */
	private Integer type;

	private Integer sortNum;

	private Boolean status;

	private Boolean deleted;
}
