package com.ruoyi.cai.dto.app.vo;

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

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "动态模型")
public class DynamicVo {
    /**
     *
     */
    @Schema(description = "动态ID")
    private Long id;
    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;
    /**
     * 内容
     */
    @Schema(description = "内容")
    private String content;
    /**
     * 城市ID
     */
    @Schema(description = "城市ID")
    private Integer cityId;

    @Schema(description = "城市")
    private String city;
    /**
     * 是否有附件  0 没有  1  有
     */
    @Schema(description = "是否有附件  0 没有  1  有")
    private Integer isAttach;
    /**
     * 状态  0 审核中  1可用   2 不可用
     */
    @Schema(description = "状态  0 审核中  1可用   2 不可用")
    private Integer status;
    /**
     * 排序字段
     */
    @Schema(description = "排序字段")
    private Long sort;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "图片")
    private List<DynamicImageVo> imageList;
}
