xinyb
6 天以前 aad276da26b3b44b7622343fa0bf15583e803585
提交 | 用户 | age
658898 1 package com.yc.crm.mail.entity;
X 2
3 import lombok.Data;
4
5 import java.util.ArrayList;
6 import java.util.List;
7
8 /**
9  * @BelongsProject: eCoWorksV3
10  * @BelongsPackage: com.yc.crm.mail.entity
11  * @author: xinyb
12  * @CreateTime: 2024-09-23  11:32
13  * @Description:
14  */
15 @Data
16 public class MailModuleBelowEntity {
aad276 17     private Integer id = 0;//唯一值
658898 18     private String key;//key
b7ef4b 19     private String parentKey;//父key
658898 20     private String name;//名称
aad276 21     private String type;//类型
658898 22     private Integer number = 0;//数量
X 23     private Object list;//下节点
24
25     public static List<MailModuleBelowEntity> setMailInitial() {
26         List<MailModuleBelowEntity> list1 = new ArrayList<>();
27         MailModuleBelowEntity a = new MailModuleBelowEntity();
28         a.setKey("moduleBelowA");
29         a.setName("文件夹");
aad276 30         a.setType("folder");
658898 31         list1.add(a);
X 32         MailModuleBelowEntity b = new MailModuleBelowEntity();
33         b.setKey("moduleBelowB");
34         b.setName("标签邮件");
aad276 35         b.setType("tag");
658898 36         list1.add(b);
X 37         MailModuleBelowEntity c = new MailModuleBelowEntity();
38         c.setKey("moduleBelowC");
aad276 39         c.setType("other");
658898 40         c.setName("显示更多");
X 41         list1.add(c);
42         return list1;
43     }
44 }