'Varchar', ]; private static $has_one = [ 'Parent' => ParentModel::class, ]; public static bool $includeInOwnTab = true; public function scaffoldFormFieldForHasOne( string $fieldName, ?string $fieldTitle, string $relationName, DataObject $ownerRecord ): FormField { // Intentionally return a field that is unlikely to be used by default in the future. return DateField::create($fieldName, $fieldTitle); } public function scaffoldFormFieldForHasMany( string $relationName, ?string $fieldTitle, DataObject $ownerRecord, bool &$includeInOwnTab ): FormField { $includeInOwnTab = static::$includeInOwnTab; // Intentionally return a field that is unlikely to be used by default in the future. return CurrencyField::create($relationName, $fieldTitle); } public function scaffoldFormFieldForManyMany( string $relationName, ?string $fieldTitle, DataObject $ownerRecord, bool &$includeInOwnTab ): FormField { $includeInOwnTab = static::$includeInOwnTab; // Intentionally return a field that is unlikely to be used by default in the future. return TimeField::create($relationName, $fieldTitle); } }