// 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 const TableNameForm = "form" // Form mapped from table
type Form struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` IsDel int8 `gorm:"column:is_del;type:tinyint;not null" json:"is_del"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id,priority:1;comment:项目id(project表)" json:"project_id"` Title string `gorm:"column:title;type:varchar(255);not null;comment:表单标题" json:"title"` Items string `gorm:"column:items;type:json;not null;comment:表单项" json:"items"` } // TableName Form's table name func (*Form) TableName() string { return TableNameForm }