'Varchar(255)', ]; private static array $has_one = [ 'SingleMember' => [ 'class' => DataObject::class, DataObjectSchema::HAS_ONE_MULTI_RELATIONAL => true, ], ]; /** * @var array */ private static $has_many = [ 'Members' => Member::class . '.HomeTeam', 'FreelancerMembers' => Freelancer::class . '.TemporaryTeam', ]; /** * @var array */ private static $many_many = [ 'ReserveHats' => Hat::class, 'Freelancers' => [ 'through' => Freelancer::class, 'from' => 'TemporaryTeam', 'to' => 'TemporaryMember', ], ]; }