mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-05 16:06:51 +08:00
初次提交
This commit is contained in:
14
model/push_msg.go
Normal file
14
model/push_msg.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
type Push struct {
|
||||
Id int64 `gorm:"column:id;NOT NULL" json:"id"`
|
||||
Method string `gorm:"column:method;NOT NULL" json:"method"`
|
||||
Url string `gorm:"column:url;NOT NULL" json:"url"`
|
||||
Body string `gorm:"column:body;NOT NULL" json:"body"`
|
||||
Remark string `gorm:"column:remark;NOT NULL" json:"remark"`
|
||||
Enable bool `gorm:"column:enable;NOT NULL" json:"enable"`
|
||||
}
|
||||
|
||||
func (*Push) TableName() string {
|
||||
return "push"
|
||||
}
|
Reference in New Issue
Block a user