package model // NeHostCmd 网元主机命令表 ne_host_cmd type NeHostCmd struct { CmdID string `json:"cmdId" gorm:"column:cmd_id"` // 命令主键 CmdType string `json:"cmdType" gorm:"column:cmd_type"` // 命令类型 GroupID string `json:"groupId" gorm:"column:group_id"` // 分组(0默认 1快速命令) Title string `json:"title" gorm:"column:title" binding:"required"` // 标题名称 Command string `json:"command" gorm:"column:command" binding:"required"` // 命令字符串 Remark string `json:"remark" gorm:"column:remark"` // 备注 CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者 CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间 UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者 UpdateTime int64 `json:"updateTime" gorm:"column:update_time"` // 更新时间 } // TableName 表名称 func (*NeHostCmd) TableName() string { return "ne_host_cmd" }