* @since 1.0.0 */ protected static array $columns = [ 'contractmgmt_type_id' => ['name' => 'contractmgmt_type_id', 'type' => 'int', 'internal' => 'id'], ]; /** * Has many relation. * * @var array * @since 1.0.0 */ protected static array $hasMany = [ 'l11n' => [ 'mapper' => ContractTypeL11nMapper::class, 'table' => 'contractmgmt_type_l11n', 'self' => 'contractmgmt_type_l11n_type', 'column' => 'title', 'conditional' => true, 'external' => null, ] ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'contractmgmt_type'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'contractmgmt_type_id'; }