20 lines
581 B
Go
20 lines
581 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
type Privilege struct {
|
|
ID string `json:"_id"`
|
|
PrivilegeID string `json:"privilegeId"`
|
|
Name string `json:"name"`
|
|
ServiceKey string `json:"serviceKey"`
|
|
Description string `json:"description"`
|
|
Type string `json:"type"`
|
|
Value string `json:"value"`
|
|
Price float64 `json:"price"`
|
|
Amount int `json:"amount"`
|
|
IsDeleted bool `json:"isDeleted"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
DeletedAt time.Time `json:"deletedAt"`
|
|
}
|