package plant

import "sundynix-go/global"

type CareRecord struct {
	global.BaseModel
	UserId  string `json:"userId" form:"userId" gorm:"size:50;column:user_id;comment:用户id"`
	PlantId string `json:"plantId" form:"plantId" gorm:"index;size:50;column:plant_id;comment:植物id"`
	PlanId  string `json:"planId" form:"plantId" gorm:"index;column:plan_id;comment:计划id"`
	Name    string `json:"name" form:"name" gorm:"column:name"`
	Remark  string `json:"remark" form:"remark" gorm:"column:remark"`
	Icon    string `json:"icon" form:"icon" gorm:"type:text;column:icon"`
}
