orderBy(self::TITLE, 'asc'); $options = parent::getFormFieldOption($field, $options); break; } return $options; } public function getEntityByPK(int $uid): null|AccountEntity { $this->where($this->getPKField(), $uid); return $this->getEntity(); } public function getEntityByID(string $id): null|AccountEntity { $this->where(self::TITLE, $id); return $this->getEntity(); } public function getEntitysByParent(AuthEntity $auth_entity) { $this->where(self::PARENT, $auth_entity->getPK()); return $this->getEntitys(); } //create용 public function create(array $formDatas = []): AccountEntity { return $this->create_process(new AccountEntity(), $formDatas); } //modify용 public function modify(AccountEntity $entity, array $formDatas): AccountEntity { return $this->modify_process($entity, $formDatas); } }