2026-06-30 24681c81c09022f584a57006f2534b5f74723414
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package cn.iocoder.yudao.module.im.controller.admin.face.vo.pack;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.util.List;
 
@Schema(description = "IM 表情包(用户端) Response VO")
@Data
public class ImFacePackUserRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "表情包名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "猫主子")
    private String name;
 
    @Schema(description = "表情包图标", example = "https://cdn.example.com/face/pack/cat.png")
    private String icon;
 
    @Schema(description = "表情列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Item> items;
 
    @Schema(description = "IM 表情包项(用户端)")
    @Data
    public static class Item {
 
        @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
        private Long id;
 
        @Schema(description = "表情图 URL", requiredMode = Schema.RequiredMode.REQUIRED,
                example = "https://cdn.example.com/face/pack/cat-001.png")
        private String url;
 
        @Schema(description = "表情名", example = "狗头")
        private String name;
 
        @Schema(description = "渲染宽度(像素)", requiredMode = Schema.RequiredMode.REQUIRED, example = "200")
        private Integer width;
 
        @Schema(description = "渲染高度(像素)", requiredMode = Schema.RequiredMode.REQUIRED, example = "200")
        private Integer height;
 
    }
 
}