// 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 ( "gorm.io/gorm" "time" ) const TableNameProduct = "product" type Product struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement" json:"id"` UserIndex string `gorm:"column:user_index;not null" json:"user_index"` Name string `gorm:"column:name;not null;default:''" json:"name"` Industry string `gorm:"column:industry;not null" json:"industry"` Type string `gorm:"column:type;not null;default:''" json:"type"` Advantages string `gorm:"column:advantages;type:text" json:"advantages"` Problem string `gorm:"column:problem;type:text" json:"problem"` Background string `gorm:"column:background;type:text" json:"background"` Case string `gorm:"column:case;type:text" json:"case"` Other string `gorm:"column:other;type:text" json:"other"` ServiceCope string `gorm:"column:service_cope;size:100" json:"service_cope"` TargetAudience string `gorm:"column:target_audience;size:255" json:"target_audience"` CreateAt *time.Time `gorm:"column:create_at" json:"create_at"` UpdateAt *time.Time `gorm:"column:update_at" json:"update_at"` DeleteAt gorm.DeletedAt `gorm:"column:delete_at;index" json:"delete_at"` Status int8 `gorm:"column:status;default:1" json:"status"` } // TableName LoginRelation's table name func (*Product) TableName() string { return TableNameProduct }