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

com.kasinf.framework.rest.eneity.projection.TreeProjection Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.kasinf.framework.rest.eneity.projection;

import org.springframework.beans.factory.annotation.Value;

import java.io.Serializable;

/**
 * 树型结构视图,适用于无子集关系的树。
 *
 * @author lkhsh
 */
public interface TreeProjection {

    Serializable getId();

    @Value("#{target.name}")
    String getTitle();

    @Value("#{target.parent==null?'':target.parent.id}")
    Serializable getParentId();

    String getIcon();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy