rts-sim-testing-service/db/model/project_run_config.gen.go

27 lines
1.1 KiB
Go

// 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"
)
const TableNameProjectRunConfig = "project_run_config"
// ProjectRunConfig mapped from table <project_run_config>
type ProjectRunConfig struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
Name string `gorm:"column:name;comment:测试环境名称" json:"name"` // 测试环境名称
Description string `gorm:"column:description;comment:环境描述" json:"description"` // 环境描述
ConfigContent string `gorm:"column:config_content;comment:环境配置信息" json:"config_content"` // 环境配置信息
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
UpdateTime time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间
}
// TableName ProjectRunConfig's table name
func (*ProjectRunConfig) TableName() string {
return TableNameProjectRunConfig
}