temp
This commit is contained in:
16
src/util/operation.rs
Normal file
16
src/util/operation.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
pub type EntityType = i64;
|
||||
|
||||
pub const ENTITY_CATEGORY: EntityType = 1;
|
||||
pub const ENTITY_TAG: EntityType = 2;
|
||||
pub const ENTITY_BOOK: EntityType = 3;
|
||||
pub const ENTITY_ACCOUNT: EntityType = 4;
|
||||
pub const ENTITY_TRANSACTION: EntityType = 5;
|
||||
pub const ENTITY_AMOUNT: EntityType = 6;
|
||||
|
||||
|
||||
pub type ActionType = i64;
|
||||
|
||||
pub const ACTION_CREATE: ActionType = 1;
|
||||
pub const ACTION_UPDATE: ActionType = 2;
|
||||
pub const ACTION_DELETE: ActionType = 3;
|
||||
Reference in New Issue
Block a user