Skip to content

Commit

Permalink
Add Deals fields ENUM Types
Browse files Browse the repository at this point in the history
  • Loading branch information
guimindgruve committed Oct 13, 2023
1 parent 8a9ea9f commit 9452e18
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions lib/Model/FieldTypeAsString.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ class FieldTypeAsString

const VISIBLE_TO = 'visible_to';

const INT = 'int';

const STAGE = 'stage';

const STATUS = 'status';

const VARCHAR_OPTIONS = 'varchar_options';

const PICTURE = 'picture';

/**
* Gets allowable values of the enum
* @return (string|int)[]
Expand All @@ -100,9 +110,12 @@ public static function getAllowableEnumValues()
self::USER,
self::VARCHAR,
self::VARCHAR_AUTO,
self::VISIBLE_TO
self::VISIBLE_TO,
self::INT,
self::STAGE,
self::STATUS,
self::VARCHAR_OPTIONS,
self::PICTURE,
];
}
}


0 comments on commit 9452e18

Please sign in to comment.