255], [['data_version', 'code'], 'string', 'max' => 100], [['description'], 'string', 'max' => 1000], [['archive'], 'boolean'], ]; } public function attributeLabels() { return [ 'id' => 'ID', 'ref_key' => 'Ref Key', 'data_version' => 'Data Version', 'code' => 'Code', 'description' => 'Description', 'updated_at' => 'Updated At', 'created_at' => 'Created At', 'archive' => 'Archive', ]; } public function restoreDictionary() { (new BaseRestoreHandler($this, PersonalData::class, 'gender_id')) ->setArchiveQuery(null) ->setModelRefTypeComparisonColumn(static::getUidColumnName()) ->restore(); } public static function find() { return new DictionaryQuery(static::class); } public static function getArchiveColumn(): string { return 'archive'; } public static function getArchiveValue() { return true; } }