17 lines
431 B
Rust
17 lines
431 B
Rust
|
|
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;
|