* @since 1.0.0 */ protected static array $columns = [ 'billing_type_id' => ['name' => 'billing_type_id', 'type' => 'int', 'internal' => 'id'], ]; /** * Has many relation. * * @var array * @since 1.0.0 */ protected static array $hasMany = [ 'l11n' => [ 'mapper' => BillTypeL11nMapper::class, 'table' => 'billing_type_l11n', 'self' => 'billing_type_l11n_type', 'column' => 'name', 'conditional' => true, 'external' => null, ], ]; /** * Belongs to. * * @var array * @since 1.0.0 */ /* protected static array $belongsTo = [ 'owner' => [ 'mapper' => AccountMapper::class, 'external' => 'billing_type_owner', ], ]; */ /** * Model to use by the mapper. * * @var string * @since 1.0.0 */ protected static string $model = BillType::class; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'billing_type'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'billing_type_id'; }