com.liferay.portal.kernel.model.CompanyTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.model;
import com.liferay.petra.sql.dsl.Column;
import com.liferay.petra.sql.dsl.base.BaseTable;
import java.sql.Types;
/**
* The table class for the "Company" database table.
*
* @author Brian Wing Shun Chan
* @see Company
* @generated
*/
public class CompanyTable extends BaseTable {
public static final CompanyTable INSTANCE = new CompanyTable();
public final Column mvccVersion = createColumn(
"mvccVersion", Long.class, Types.BIGINT, Column.FLAG_NULLITY);
public final Column companyId = createColumn(
"companyId", Long.class, Types.BIGINT, Column.FLAG_PRIMARY);
public final Column accountId = createColumn(
"accountId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column webId = createColumn(
"webId", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column mx = createColumn(
"mx", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column homeURL = createColumn(
"homeURL", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column logoId = createColumn(
"logoId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column system = createColumn(
"system_", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
public final Column maxUsers = createColumn(
"maxUsers", Integer.class, Types.INTEGER, Column.FLAG_DEFAULT);
public final Column active = createColumn(
"active_", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
private CompanyTable() {
super("Company", CompanyTable::new);
}
}