You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
52 lines
1.7 KiB
package vo
|
|
|
|
import "time"
|
|
|
|
type SessionVO struct {
|
|
ID int64 `json:"id"`
|
|
UserAgent string `json:"userAgent"`
|
|
IP string `json:"ip"`
|
|
LastActiveAt time.Time `json:"lastActiveAt"`
|
|
ExpiresAt time.Time `json:"expiresAt"`
|
|
Current bool `json:"current"`
|
|
}
|
|
|
|
type DownloadRecordVO struct {
|
|
ID int64 `json:"id"`
|
|
VideoID int64 `json:"videoId"`
|
|
FileName string `json:"fileName"`
|
|
FileSize int64 `json:"fileSize"`
|
|
DroneSN string `json:"droneSn"`
|
|
ExecutionID int64 `json:"executionId"`
|
|
Bytes int64 `json:"bytes"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
}
|
|
|
|
type ResourceSummaryVO struct {
|
|
BalanceGb float64 `json:"balanceGb"`
|
|
MonthUsageGb float64 `json:"monthUsageGb"`
|
|
MonthLiveGb float64 `json:"monthLiveGb"`
|
|
MonthReplayGb float64 `json:"monthReplayGb"`
|
|
MonthDownloadGb float64 `json:"monthDownloadGb"`
|
|
SimCount int64 `json:"simCount"`
|
|
DockCount int64 `json:"dockCount"`
|
|
DroneCount int64 `json:"droneCount"`
|
|
VideoCount int64 `json:"videoCount"`
|
|
MonthDownloadCnt int64 `json:"monthDownloadCount"`
|
|
}
|
|
|
|
type InvoiceProfileReq struct {
|
|
Title string `json:"title" validate:"required,max=128"`
|
|
TaxpayerNumber string `json:"taxpayerNumber" validate:"required,max=64"`
|
|
Email string `json:"email" validate:"required,email"`
|
|
IsDefault bool `json:"isDefault"`
|
|
}
|
|
|
|
type InvoiceRequestCreateReq struct {
|
|
OrderID int64 `json:"orderId" validate:"required"`
|
|
}
|
|
type InvoiceReviewReq struct {
|
|
Status string `json:"status" validate:"required"`
|
|
InvoiceNumber string `json:"invoiceNumber"`
|
|
AdminRemark string `json:"adminRemark"`
|
|
}
|
|
|