调整列表字段和枚举值转换

This commit is contained in:
Eamon
2026-01-05 09:14:41 +08:00
parent a27e856f07
commit 054b8954c4
23 changed files with 571 additions and 222 deletions

11
src/models/batch.ts Normal file
View 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
View 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
View 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
View 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
View 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
}