base_district.go 1.7 KB

12345678910111213141516171819202122232425262728
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // BaseDistrict is the golang structure for table base_district.
  9. type BaseDistrict struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. DistName string `orm:"dist_name" json:"distName"` // 地区名称
  12. DistShortName string `orm:"dist_short_name" json:"distShortName"` // 地区简称
  13. DistCode string `orm:"dist_code" json:"distCode"` // 地区编号
  14. DistLevel string `orm:"dist_level" json:"distLevel"` // 地区级别;1-省、自治区、直辖市 2-地级市、地区、自治州、盟 3-市辖区、县级市、县
  15. ParentId int `orm:"parent_id" json:"parentId"` // 上级编码
  16. Path string `orm:"path" json:"path"` // 路径
  17. Remark string `orm:"remark" json:"remark"` // 备注
  18. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  19. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  20. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  21. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  22. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  23. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  24. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  25. }