sunty
2019-07-05 84ae2c7481f2c7f3628613f5f3c8d0b60b6bccc0
models/model.go
@@ -6,9 +6,9 @@
   Id         string `gorm:"primary_key" json:"id" example:"XeW0HmoBevddG23Ild5o"`
   CreateTime string `json:"createTime,omitempty" example:""`
   UpdateTime string `json:"updateTime,omitempty" example:""`
   CreateBy   string `json:"createBy" example:""`
   IsDelete   int    `json:"isDelete" example:"0 未删除 1已删除"`
   Enable     int    `json:"enable" example:" 1生效 0未生效"`
   CreateBy   string `json:"createBy,omitempty" example:""`
   IsDelete   int    `json:"isDelete,omitempty" example:"0 未删除 1已删除"`
   Enable     int    `json:"enable,omitempty" example:" 1生效 0未生效"`
}
func (dp *BaseEntity) PriInsert() {