xinyb
6 天以前 aad276da26b3b44b7622343fa0bf15583e803585
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
package com.yc.crm.mail.entity;
 
import lombok.Data;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * @BelongsProject: eCoWorksV3
 * @BelongsPackage: com.yc.crm.mail.entity
 * @author: xinyb
 * @CreateTime: 2024-09-23  11:32
 * @Description:
 */
@Data
public class MailModuleBelowEntity {
    private Integer id = 0;//唯一值
    private String key;//key
    private String parentKey;//父key
    private String name;//名称
    private String type;//类型
    private Integer number = 0;//数量
    private Object list;//下节点
 
    public static List<MailModuleBelowEntity> setMailInitial() {
        List<MailModuleBelowEntity> list1 = new ArrayList<>();
        MailModuleBelowEntity a = new MailModuleBelowEntity();
        a.setKey("moduleBelowA");
        a.setName("文件夹");
        a.setType("folder");
        list1.add(a);
        MailModuleBelowEntity b = new MailModuleBelowEntity();
        b.setKey("moduleBelowB");
        b.setName("标签邮件");
        b.setType("tag");
        list1.add(b);
        MailModuleBelowEntity c = new MailModuleBelowEntity();
        c.setKey("moduleBelowC");
        c.setType("other");
        c.setName("显示更多");
        list1.add(c);
        return list1;
    }
}