* @since 1.0.0 */ public const COLUMNS = [ 'support_ticket_attr_id' => ['name' => 'support_ticket_attr_id', 'type' => 'int', 'internal' => 'id'], 'support_ticket_attr_ticket' => ['name' => 'support_ticket_attr_ticket', 'type' => 'int', 'internal' => 'ticket'], 'support_ticket_attr_type' => ['name' => 'support_ticket_attr_type', 'type' => 'int', 'internal' => 'type'], 'support_ticket_attr_value' => ['name' => 'support_ticket_attr_value', 'type' => 'int', 'internal' => 'value'], ]; /** * Has one relation. * * @var array * @since 1.0.0 */ public const OWNS_ONE = [ 'type' => [ 'mapper' => TicketAttributeTypeMapper::class, 'external' => 'support_ticket_attr_type', ], 'value' => [ 'mapper' => TicketAttributeValueMapper::class, 'external' => 'support_ticket_attr_value', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'support_ticket_attr'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD ='support_ticket_attr_id'; }