fix
wangpengfei
2023-08-14 6acff3ce321e59b03e95fe7143ba45b0c48cd926
model/model.go
@@ -5,6 +5,24 @@
   "time"
)
// MyModel definitions from gorm.Model
//
// swagger:model
type gormModel struct {
   // The ID of the item
   // example: 1
   ID uint `json:"id"`
   // The date when the item was created
   // example: 2023-08-10 15:48:25
   CreatedAt time.Time `json:"created_at"`
   // The date when the item was last updated
   // example: 2023-08-10 15:48:25
   UpdatedAt time.Time `json:"updated_at"`
   // The date when the item was deleted
   // example: 2023-08-10 15:48:25
   DeletedAt *time.Time `json:"_"`
}
type CrmModel struct {
   gorm.Model  `json:"-"`
   CreatorId   int       `json:"-" gorm:"column:creator_id;type:int;comment:创建人id"`