add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_request_sql.go
Normal file
19
app/model/prestadb/ps_request_sql.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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 prestadb
|
||||
|
||||
const TableNamePsRequestSql = "ps_request_sql"
|
||||
|
||||
// PsRequestSql mapped from table <ps_request_sql>
|
||||
type PsRequestSql struct {
|
||||
IDRequestSql int32 `gorm:"column:id_request_sql;primaryKey;autoIncrement:true" json:"id_request_sql"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
Sql string `gorm:"column:sql;not null" json:"sql"`
|
||||
}
|
||||
|
||||
// TableName PsRequestSql's table name
|
||||
func (*PsRequestSql) TableName() string {
|
||||
return TableNamePsRequestSql
|
||||
}
|
||||
Reference in New Issue
Block a user