We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197f99d commit d9d329cCopy full SHA for d9d329c
core/Data/Enums/State.cs
@@ -14,11 +14,11 @@ namespace api.core.Data.Enums;
14
[Flags]
15
public enum State
16
{
17
- OnHold = 1, // 000001
18
- Deleted = 2, // 000010
19
- Denied = 4, // 000100
20
- Approved = 8, // 001000
21
- Published = 16, // 010000
22
- Draft = 32, // 100000
+ OnHold = 1 << 0, // 000001
+ Deleted = 1 << 1, // 000010
+ Denied = 1 << 2, // 000100
+ Approved = 1 << 3, // 001000
+ Published = 1 << 4, // 010000
+ Draft = 1 << 5, // 100000
23
All = OnHold | Deleted | Denied | Approved | Published | Draft // 111111
24
}
0 commit comments