23 lines
676 B
Go
23 lines
676 B
Go
package models
|
|
|
|
// Project 项目信息
|
|
type Project struct {
|
|
Name string `json:"name" binding:"required"`
|
|
Namespace string `json:"namespace" binding:"required"`
|
|
Province string `json:"province"`
|
|
City string `json:"city"`
|
|
Domain string `json:"domain"`
|
|
BusinessMan string `json:"business_man"`
|
|
MarketMan string `json:"market_man" `
|
|
TierOneSecret string `json:"tier_one_secret" `
|
|
TierTwoSecret string `json:"tier_two_secret"`
|
|
AuthTime string `json:"auth_time"`
|
|
AuthFilePath string `json:"auth_file_path"`
|
|
CreateTime string `json:"create_time"`
|
|
}
|
|
|
|
// ProjectPO 项目持久化对象
|
|
type ProjectPO struct {
|
|
Project
|
|
}
|