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

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

import java.util.List;

@Data
@Schema(description = "发布动态")
public class DynamicAddReq {
    /**
     * 用户ID
     */
    @Schema(description = "用户ID",hidden = true)
    private Long userId;
    /**
     * 内容
     */
    @Schema(description = "内容")
    private String content;

    @Schema(description = "照片列表")
    private List<DynamicImageAddReq> imageList;


    @Data
    @Schema(description = "动态照片上传")
    public static class DynamicImageAddReq {
        @Schema(description = "照片")
        private String url;
    }

}
