// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" "gorm.io/gorm" ) const TableNameMapUpdate = "map_update" // MapUpdate mapped from table type MapUpdate struct { ID string `gorm:"column:id;type:varchar(100);primaryKey" json:"id"` MapID string `gorm:"column:map_id;type:varchar(100);not null" json:"map_id"` DeviceID string `gorm:"column:device_id;type:varchar(100);not null" json:"device_id"` DeviceSn string `gorm:"column:device_sn;type:varchar(100);not null" json:"device_sn"` DeviceName string `gorm:"column:device_name;type:varchar(100);not null" json:"device_name"` DeviceType string `gorm:"column:device_type;type:varchar(100);not null" json:"device_type"` PrePgmURL string `gorm:"column:pre_pgm_url;type:varchar(255);not null" json:"pre_pgm_url"` CurrentPgmURL string `gorm:"column:current_pgm_url;type:varchar(255);not null" json:"current_pgm_url"` PrePngURL string `gorm:"column:pre_png_url;type:varchar(255);not null" json:"pre_png_url"` CurrentPngURL string `gorm:"column:current_png_url;type:varchar(255);not null" json:"current_png_url"` UpdateRate string `gorm:"column:update_rate;type:varchar(50);not null" json:"update_rate"` CumulativeUpdateRate string `gorm:"column:cumulative_update_rate;type:varchar(50);not null" json:"cumulative_update_rate"` UpdateTime string `gorm:"column:update_time;type:varchar(50);not null" json:"update_time"` FromSceneList *string `gorm:"column:from_scene_list;type:varchar(255)" json:"from_scene_list"` UpdateFlag int32 `gorm:"column:update_flag;type:int(11);not null" json:"update_flag"` CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null" json:"created_at"` UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime" json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime" json:"deleted_at"` } // TableName MapUpdate's table name func (*MapUpdate) TableName() string { return TableNameMapUpdate }