working commit
This commit is contained in:
+8
-12
@@ -10,17 +10,13 @@
|
||||
|
||||
package descr
|
||||
|
||||
import (
|
||||
"mstore/pkg/term"
|
||||
)
|
||||
|
||||
type Grant struct {
|
||||
ID uint64 `json:"id" db:"id"`
|
||||
AccountID uint64 `json:"accountID" db:"account_id"`
|
||||
Right term.Right `json:"right" db:"right"`
|
||||
Pattern string `json:"pattern" db:"pattern"`
|
||||
CreatedAt string `json:"createdAt" db:"created_at"`
|
||||
UpdatedAt string `json:"updatedAt" db:"updated_at"`
|
||||
CreatedBy uint64 `json:"createdBy" db:"created_by"`
|
||||
UpdatedBy uint64 `json:"updatedBy" db:"updated_by"`
|
||||
ID string `json:"id" db:"id"`
|
||||
AccountID string `json:"accountID" db:"account_id"`
|
||||
Right string `json:"right" db:"right"`
|
||||
Pattern string `json:"pattern" db:"pattern"`
|
||||
CreatedAt string `json:"createdAt" db:"created_at"`
|
||||
UpdatedAt string `json:"updatedAt" db:"updated_at"`
|
||||
CreatedBy string `json:"createdBy" db:"created_by"`
|
||||
UpdatedBy string `json:"updatedBy" db:"updated_by"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user