package com.changhong.epc.bean.count.format; import java.util.Set; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(of="groupName") public class FormMsgInfo { private String groupName; private GroupColor groupColor; private Set groupData; public FormMsgInfo(){} public FormMsgInfo(String groupName){ this.groupName = groupName; } public static enum GroupColor{ red ; } @Data @EqualsAndHashCode(of="data") public static class GroupData{ private String data; public GroupData(String data) { super(); this.data = data; } public GroupData() { super(); } } }