mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
code refactor
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package models
|
||||
|
||||
// Level-One Account
|
||||
const ACCOUNT_PARENT_ID_LEVEL_ONE = 0
|
||||
// LevelOneAccountParentId represents the parent id of level-one account
|
||||
const LevelOneAccountParentId = 0
|
||||
|
||||
// AccountCategory represents account category
|
||||
type AccountCategory byte
|
||||
|
||||
@@ -2,8 +2,8 @@ package models
|
||||
|
||||
import "github.com/mayswind/lab/pkg/core"
|
||||
|
||||
// The maximum size of user agent stored in database
|
||||
const TOKEN_USER_AGENT_MAX_LENGTH = 255
|
||||
// TokenMaxUserAgentLength represents the maximum size of user agent stored in database
|
||||
const TokenMaxUserAgentLength = 255
|
||||
|
||||
// TokenRecord represents token data stored in database
|
||||
type TokenRecord struct {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package models
|
||||
|
||||
// Level-One Transaction Category
|
||||
const TRANSACTION_PARENT_ID_LEVEL_ONE = 0
|
||||
// LevelOneTransactionParentId represents the parent id of level-one transaction category
|
||||
const LevelOneTransactionParentId = 0
|
||||
|
||||
// TransactionCategoryType represents transaction category type
|
||||
type TransactionCategoryType byte
|
||||
|
||||
Reference in New Issue
Block a user