19 Star 54 Fork 27

Jonluo/baasmanager

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
chain.go 796 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jonluo 提交于 2019-05-05 15:48 +08:00 . 更新api接口
package entity
type Chain struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Name string `json:"name" xorm:"not null VARCHAR(64)"`
UserAccount string `json:"userAccount" xorm:"not null VARCHAR(100)"`
Description string `json:"description" xorm:"VARCHAR(255)"`
Consensus string `json:"consensus" xorm:"not null VARCHAR(10)"`
PeersOrgs string `json:"peersOrgs" xorm:"not null VARCHAR(100)"`
OrderCount int `json:"orderCount" xorm:"not null INT(11)"`
PeerCount int `json:"peerCount" xorm:"not null INT(11)"`
TlsEnabled string `json:"tlsEnabled" xorm:"not null VARCHAR(5)"`
Status int `json:"status" xorm:"default 0 INT(11)"` //0定义 1已构建 2运行中 3已停止
Created int64 `json:"created" xorm:"not null BIGINT(20)"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/jonluo/baasmanager.git
git@gitee.com:jonluo/baasmanager.git
jonluo
baasmanager
baasmanager
3986dddaf5d2

搜索帮助