mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
modified monitor model
This commit is contained in:
parent
4c9a81e83b
commit
459eff0939
@ -3,9 +3,9 @@ package model
|
||||
//TenantServiceMonitor custom service monitor
|
||||
type TenantServiceMonitor struct {
|
||||
Model
|
||||
TenantID string `gorm:"column:tenant_id;size:40" json:"tenant_id"`
|
||||
TenantID string `gorm:"column:tenant_id;size:40;primary_key" json:"tenant_id"`
|
||||
ServiceID string `gorm:"column:service_id;size:40" json:"service_id"`
|
||||
Name string `gorm:"column:name;size:40;unique_index" json:"name"`
|
||||
Name string `gorm:"column:name;size:40;primary_key" json:"name"`
|
||||
ServiceShowName string `gorm:"column:service_show_name" json:"service_show_name"`
|
||||
Port int `gorm:"column:port;size:5" json:"port"`
|
||||
Path string `gorm:"column:path;size:255" json:"path"`
|
||||
|
Loading…
Reference in New Issue
Block a user