init
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -13,6 +13,9 @@ import java.time.LocalDateTime;
|
||||
@Data
|
||||
public class UnionAdminVo extends Union {
|
||||
|
||||
private Integer allNum = 0;
|
||||
private Integer anchorNum = 0;
|
||||
|
||||
/**
|
||||
* 用户号/ID号
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user