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;
|
}
|
}
|