26 lines
348 B
GraphQL
26 lines
348 B
GraphQL
|
enum AccountType {
|
||
|
BASIC
|
||
|
PREMIUM
|
||
|
BUSINESS
|
||
|
}
|
||
|
|
||
|
enum AccountCurrency {
|
||
|
USD
|
||
|
KHR
|
||
|
}
|
||
|
|
||
|
type Account {
|
||
|
id: ID
|
||
|
code: String
|
||
|
balance: Float
|
||
|
currentBalance: Float
|
||
|
type: AccountType
|
||
|
currency: AccountCurrency
|
||
|
user: User!
|
||
|
}
|
||
|
|
||
|
input AccountInput {
|
||
|
userId: Int
|
||
|
type: AccountType
|
||
|
currency: AccountCurrency
|
||
|
}
|