All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.service.SystemMenuVo.ftl Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package ${afterEndBo.packageName}.common.vo.${folderName};

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.yes.tools.core.vo.MetaInfo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 

* 系统菜单表 *

* * @author Co. * @since 2023-04-10 */ @Data @EqualsAndHashCode(callSuper = false) @Schema(name = "SystemMenuVo对象", description = "系统菜单表") public class SystemMenuVo implements Serializable { private static final long serialVersionUID = 1L; @JsonSerialize(using = ToStringSerializer.class) private Long id; @Schema(description = "父级ID") private Long pid; @Schema(description = "名称") private String name; @Schema(description = "类型:M=目录 C=菜单 A=按钮") private String menuType; @Schema(description = "icon") private String icon; @Schema(description = "组件路径") private String component; @Schema(description = "访问路径") private String path; @Schema(description = "排序") private Integer sort; @Schema(description = "创建时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date addTime; @Schema(description = "更新时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date editTime; public MetaInfo meta; @Schema(description = "下级菜单数据") List children; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy