first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package table
|
||||
|
||||
// ProxyMapping 代理映射表
|
||||
type ProxyMapping struct {
|
||||
ID int `xorm:"pk autoincr 'id'"`
|
||||
ProxyNumber string `xorm:"varchar(50) notnull unique 'proxy_number'"` // 代理编号
|
||||
ProxyValue string `xorm:"varchar(255) notnull 'proxy_value'"` // 代理值
|
||||
CreateTime string `xorm:"varchar(50) 'create_time'"` // 创建时间
|
||||
UpdateTime string `xorm:"varchar(50) 'update_time'"` // 更新时间
|
||||
}
|
||||
|
||||
func (ProxyMapping) TableName() string {
|
||||
return "proxy_mapping"
|
||||
}
|
||||
Reference in New Issue
Block a user