* @since 1.0.0 */ public const COLUMNS = [ 'row_id' => ['name' => 'row_id', 'type' => 'int', 'internal' => 'id'], 'row_create_time' => ['name' => 'row_create_time', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true], 'row_create_user' => ['name' => 'row_create_user', 'type' => 'int', 'internal' => 'createdBy', 'readonly' => true], 'LieferantenNummer' => ['name' => 'LieferantenNummer', 'type' => 'string', 'internal' => 'number'], 'Info' => ['name' => 'Info', 'type' => 'string', 'internal' => 'info'], 'Auftragssperre' => ['name' => 'Auftragssperre', 'type' => 'string', 'internal' => 'deliveryStatus'], 'Steuernummer' => ['name' => 'Steuernummer', 'type' => 'string', 'internal' => 'taxid'], 'BIC' => ['name' => 'BIC', 'type' => 'string', 'internal' => 'bic'], 'IBAN' => ['name' => 'IBAN', 'type' => 'string', 'internal' => 'iban'], 'AdressId' => ['name' => 'AdressId', 'type' => 'int', 'internal' => 'addr'], ]; /** * Has one relation. * * @var array * @since 1.0.0 */ public const OWNS_ONE = [ 'addr' => [ 'mapper' => GSDAddressMapper::class, 'external' => 'AdressId', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'Lieferanten'; /** * Created at. * * @var string * @since 1.0.0 */ public const CREATED_AT = 'row_create_time'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD ='row_id'; }