<?php
class ProspectDocumentTable extends Table
{
    const C_TABLE                       = "PROSPECT_DOCUMENT";
    const C_PK                          = "PROSPECT_DOCUMENT_ID, PROSPECT_ID, PROSPECT_CONVERSATION_ID";
    const C_DOCUMENT_ID                 = "PROSPECT_DOCUMENT_ID";
    const C_ID                          = "PROSPECT_ID";
    const C_CONVERSATION_ID             = "PROSPECT_CONVERSATION_ID";
    const C_NAME                        = "PROSPECT_DOCUMENT_NAME";
    const C_FILE                        = "PROSPECT_DOCUMENT_FILE";
    const C_FILE_TYPE                   = "PROSPECT_DOCUMENT_FILE_TYPE";
}

class ProspectDocumentTableDetail extends TableDetail
{
    const C_DOCUMENT_ID                 = "identity||NO|";
    const C_ID                          = "int||NO|(0)";
    const C_CONVERSATION_ID             = "int||NO|(0)";
    const C_NAME                        = "nvarchar|255|NO|''";
    const C_FILE                        = "ntext||NO|''";
    const C_FILE_TYPE                   = "nvarchar|255|NO|''";
}
