package com.glxp.api.vo.system; import com.glxp.api.entity.system.SysMsgTodoEntity; import lombok.Data; @Data public class SysMsgTodoVo extends SysMsgTodoEntity { String msgTypeName; String pushStatusName; String dealStatusName; String invName; String deptName; public String getMsgTypeName() { if (super.getMsgType() != null) { return super.getMsgType().getDesc(); } return msgTypeName; } public String getPushStatusName() { if (super.getPushStatus() != null) { return super.getPushStatus().getDesc(); } return pushStatusName; } public String getDealStatusName() { if (super.getDealStatus() != null) { return super.getDealStatus().getDesc(); } return dealStatusName; } }