com.liferay.mail.reader.model.AttachmentTable Maven / Gradle / Ivy
The newest version!
/**
* 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.mail.reader.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 "Mail_Attachment" database table.
*
* @author Brian Wing Shun Chan
* @see Attachment
* @generated
*/
public class AttachmentTable extends BaseTable {
public static final AttachmentTable INSTANCE = new AttachmentTable();
public final Column attachmentId = createColumn(
"attachmentId", Long.class, Types.BIGINT, Column.FLAG_PRIMARY);
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 accountId = createColumn(
"accountId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column folderId = createColumn(
"folderId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column messageId = createColumn(
"messageId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column contentPath = createColumn(
"contentPath", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column fileName = createColumn(
"fileName", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column size = createColumn(
"size_", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
private AttachmentTable() {
super("Mail_Attachment", AttachmentTable::new);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy