init: initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package plant
|
||||
|
||||
import (
|
||||
"sundynix-go/global"
|
||||
)
|
||||
|
||||
// CarePlan 养护计划
|
||||
type CarePlan struct {
|
||||
global.BaseModel
|
||||
UserId string `json:"userId" form:"userId" gorm:"size:50;column:user_id;comment:用户id"`
|
||||
PlantId string `json:"plantId" form:"plantId" gorm:"size:50;column:plant_id;comment:植物id"`
|
||||
Icon string `json:"icon" form:"icon" gorm:"type:text;"`
|
||||
Name string `json:"name"`
|
||||
Period int `json:"period" form:"period" gorm:"column:period;comment:周期"`
|
||||
}
|
||||
Reference in New Issue
Block a user