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

com.liferay.calendar.model.CalendarTable Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.calendar.model;

import com.liferay.petra.sql.dsl.Column;
import com.liferay.petra.sql.dsl.base.BaseTable;

import java.sql.Types;

import java.util.Date;

/**
 * The table class for the "Calendar" database table.
 *
 * @author Eduardo Lundgren
 * @see Calendar
 * @generated
 */
public class CalendarTable extends BaseTable {

	public static final CalendarTable INSTANCE = new CalendarTable();

	public final Column mvccVersion = createColumn(
		"mvccVersion", Long.class, Types.BIGINT, Column.FLAG_NULLITY);
	public final Column ctCollectionId = createColumn(
		"ctCollectionId", Long.class, Types.BIGINT, Column.FLAG_PRIMARY);
	public final Column uuid = createColumn(
		"uuid_", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
	public final Column calendarId = createColumn(
		"calendarId", Long.class, Types.BIGINT, Column.FLAG_PRIMARY);
	public final Column groupId = createColumn(
		"groupId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
	public final Column companyId = createColumn(
		"companyId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
	public final Column userId = createColumn(
		"userId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
	public final Column userName = createColumn(
		"userName", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
	public final Column createDate = createColumn(
		"createDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);
	public final Column modifiedDate = createColumn(
		"modifiedDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);
	public final Column calendarResourceId = createColumn(
		"calendarResourceId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
	public final Column name = createColumn(
		"name", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
	public final Column description = createColumn(
		"description", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
	public final Column timeZoneId = createColumn(
		"timeZoneId", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
	public final Column color = createColumn(
		"color", Integer.class, Types.INTEGER, Column.FLAG_DEFAULT);
	public final Column defaultCalendar = createColumn(
		"defaultCalendar", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
	public final Column enableComments = createColumn(
		"enableComments", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
	public final Column enableRatings = createColumn(
		"enableRatings", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
	public final Column lastPublishDate = createColumn(
		"lastPublishDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);

	private CalendarTable() {
		super("Calendar", CalendarTable::new);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy