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

site.sorghum.anno._metadata.AnJoinTable Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package site.sorghum.anno._metadata;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode
@AllArgsConstructor
public class AnJoinTable {
    /**
     * 主表名
     */
    String mainTable;

    /**
     * 主表别名
     */
    String mainAlias;

    /**
     * 连表信息
     */
    List joinTables;


    @Data
    @EqualsAndHashCode
    @AllArgsConstructor
    public static class JoinTable {
        /**
         * 连表名
         */
        String table;

        /**
         * 连表别名
         */
        String alias;

        /**
         * 连表条件
         */
        String joinCondition;

        /**
         * 1 left join 2 right join 3 inner join
         */
        int joinType = 0;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy