实现Update接口
This commit is contained in:
@@ -45,9 +45,6 @@ type FeedingPlan struct {
|
||||
// OrderInParent 在父计划中的执行顺序
|
||||
OrderInParent *int `gorm:"column:order_in_parent" json:"order_in_parent,omitempty"`
|
||||
|
||||
// IsMaster 是否为主计划(主计划可以包含子计划)
|
||||
IsMaster bool `gorm:"not null;default:false;column:is_master" json:"is_master"`
|
||||
|
||||
// CreatedAt 创建时间
|
||||
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user