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.
36 lines
750 B
36 lines
750 B
package model |
|
|
|
import "time" |
|
|
|
// Report etc. |
|
type Report struct { |
|
ID int64 |
|
Name string |
|
DateVersion string |
|
Val int64 |
|
Ctime time.Time |
|
} |
|
|
|
// ReportDto etc. |
|
type ReportDto struct { |
|
ID int64 `json:"id"` |
|
Name string `json:"name"` |
|
DateVersion string `json:"date_version"` |
|
Val int64 `json:"val"` |
|
Ctime int64 `json:"ctime"` |
|
} |
|
|
|
// ReportPage def. |
|
type ReportPage struct { |
|
TotalCount int `json:"total_count"` |
|
Pn int `json:"pn"` |
|
Ps int `json:"ps"` |
|
Items []*ReportDto `json:"items"` |
|
} |
|
|
|
const ( |
|
//BlockCount block count |
|
BlockCount = "封禁总数" |
|
// SecurityLoginCount security login count |
|
SecurityLoginCount = "二次验证总数" |
|
)
|
|
|