package io.modules.item.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 健康资讯
 *
 * @author Mark #
 * @since 1.0.0 2025-02-18
 */
@Data
@Schema(name = "健康资讯")
public class TopicDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "编号")
	private Long id;

	@SchemaProperty(name = "标题")
	private String title;

	@SchemaProperty(name = "内容")
	private String content;

	@SchemaProperty(name = "创建时间")
	private Date createTime;

	@SchemaProperty(name = "")
	private Integer view;

	@SchemaProperty(name = "")
	private Integer sort;

	@SchemaProperty(name = "类型0 话题 1 文创")
	private Integer type;

	@SchemaProperty(name = "用户编号")
	private Long userId;


}
