调整列表字段和枚举值转换
This commit is contained in:
11
src/models/batch.ts
Normal file
11
src/models/batch.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export type Batch = {
|
||||
id: number
|
||||
batch_no: string
|
||||
prov: string
|
||||
city: string
|
||||
ip: string
|
||||
isp: string
|
||||
count: string
|
||||
resource_id: string
|
||||
time: string
|
||||
}
|
||||
7
src/models/billing.ts
Normal file
7
src/models/billing.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type Billing = {
|
||||
type: number
|
||||
info: string
|
||||
amount: number
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
}
|
||||
15
src/models/channel.ts
Normal file
15
src/models/channel.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export type Channel = {
|
||||
id: number
|
||||
batch_no: string
|
||||
filter_prov: string
|
||||
filter_city: string
|
||||
filter_isp: string
|
||||
host: string
|
||||
port: string
|
||||
whitelists: string
|
||||
username: string
|
||||
password: string
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
expired_at: Date
|
||||
}
|
||||
8
src/models/resources.ts
Normal file
8
src/models/resources.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export type Resources = {
|
||||
id: number
|
||||
resource_no: string
|
||||
active: string
|
||||
type: string
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
}
|
||||
10
src/models/trade.ts
Normal file
10
src/models/trade.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export type Trade = {
|
||||
id: number
|
||||
inner_no: string
|
||||
method: number
|
||||
payment: string
|
||||
platform: number
|
||||
status: number
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
}
|
||||
Reference in New Issue
Block a user