10 lines
607 B
Go
10 lines
607 B
Go
package dao
|
|
|
|
type BindHistoryCreate struct {
|
|
Id int64 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"`
|
|
HostCode string `gorm:"column:host_code;type:varchar(128);comment:设备昵称;NOT NULL" json:"host_code"`
|
|
Type int32 `json:"type" gorm:"type"` // 类型。1为圆屏,2为卵型屏,3为皮肤分析仪,4为经皮湿水仪,5为AI化妆盒,6为软水机,7为制氧机
|
|
Status int32 `gorm:"column:status;type:tinyint(1);default:2;comment:1为绑定,2为解绑;NOT NULL" json:"status"`
|
|
UserId int64 `gorm:"column:user_id;type:int(11)" json:"user_id"`
|
|
}
|