add models generation and josn print
This commit is contained in:
25
app/model/prestadb/ps_module_history.go
Normal file
25
app/model/prestadb/ps_module_history.go
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const TableNamePsModuleHistory = "ps_module_history"
|
||||
|
||||
// PsModuleHistory mapped from table <ps_module_history>
|
||||
type PsModuleHistory struct {
|
||||
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
||||
IDEmployee int32 `gorm:"column:id_employee;not null" json:"id_employee"`
|
||||
IDModule int32 `gorm:"column:id_module;not null" json:"id_module"`
|
||||
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
|
||||
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
|
||||
}
|
||||
|
||||
// TableName PsModuleHistory's table name
|
||||
func (*PsModuleHistory) TableName() string {
|
||||
return TableNamePsModuleHistory
|
||||
}
|
||||
Reference in New Issue
Block a user