@ApiModelProperty("资源状态名称") private String statusName; @Override public void setStatus(Integer status) { super.setStatus(status); this.statusName = EnumUtil.getNameByCode(StatusEnum.class, status); }
@ApiModelProperty("资源状态名称") private String statusName; @Override public void setStatus(Integer status) { super.setStatus(status); this.statusName = EnumUtil.getNameByCode(StatusEnum.class, status); }