This commit is contained in:
dute7liang
2024-01-21 19:55:39 +08:00
parent e36ad030e4
commit 5c9218ea83
18 changed files with 222 additions and 76 deletions

View File

@@ -0,0 +1,10 @@
package com.ruoyi.cai.dto.admin;
import lombok.Data;
@Data
public class UnionCountDTO {
private Long unionId;
private Integer allNum;
private Integer anchorNum;
}

View File

@@ -13,6 +13,9 @@ import java.time.LocalDateTime;
@Data
public class UnionAdminVo extends Union {
private Integer allNum = 0;
private Integer anchorNum = 0;
/**
* 用户号/ID号
*/

View File

@@ -1,10 +1,8 @@
package com.ruoyi.cai.dto.app.query;
import com.ruoyi.cai.dto.app.vo.DynamicImageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;
@Data
@@ -13,36 +11,23 @@ public class DynamicAddReq {
/**
* 用户ID
*/
@Schema(description = "用户ID")
@Schema(description = "用户ID",hidden = true)
private Long userId;
/**
* 内容
*/
@Schema(description = "内容")
private String content;
/**
* 城市ID
*/
@Schema(description = "城市ID")
private Integer cityId;
/**
* 是否有附件 0 没有 1 有
*/
@Schema(description = "是否有附件")
private Integer isAttach;
@Schema(description = "照片列表")
private List<DynamicImageVo> imageList;
/**
* 状态 0 审核中 1可用 2 不可用
*/
@Schema(hidden = true)
private Integer status;
/**
* 排序字段
*/
@Schema(hidden = true)
private Long sort;
@Schema(hidden = true)
private LocalDateTime createTime;
private List<DynamicImageAddReq> imageList;
@Data
@Schema(description = "动态照片上传")
public static class DynamicImageAddReq {
@Schema(description = "照片")
private String url;
}
}