liuxiaolong
2019-07-05 d8a5263b2306889d40ea0b0be559eda9f942301c
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() {