common.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Copyright 2019 github.com. All rights reserved.
  2. // Use of this source code is governed by github.com.
  3. package consts
  4. const (
  5. PageSize = 10
  6. )
  7. const (
  8. TimeSecondLayOut = "2006-01-02 15:04:05"
  9. )
  10. const (
  11. DeviceStatusAddAuditting = iota //添加设备待审核
  12. DeviceStatusAddAuditted//添加设备审核通过
  13. DeviceStatusAddAudittedFail//添加设备审核未通过
  14. DeviceStatusDelAuditting//拆机审核中
  15. DeviceStatusDelAudittedFail//拆机审核未通过
  16. )
  17. const (
  18. DeviceTypeStatusAddTesting = iota //添加设备类型待对接测试
  19. DeviceTypeStatusAddTestted //对接测试通过
  20. DeviceTypeStatusAddTesttedFail //对接测试未通过
  21. DeviceTypeStatusAddAuditted //住建部审核通过
  22. DeviceTypeStatusAddAudittedFail //住建部审核未通过
  23. )
  24. const (
  25. ProviderStatusAddAuditting = iota
  26. ProviderStatusAddAuditted
  27. ProviderStatusAddAudittedFail
  28. )
  29. const (
  30. CompanyStatusAddAuditting = iota
  31. CompanyStatusAddAuditted
  32. CompanyStatusAddAudittedFail
  33. )
  34. const (
  35. ProjectStatusAddAuditting = iota
  36. ProjectStatusAddAuditted
  37. ProjectStatusAddAudittedFail
  38. )
  39. const (
  40. _ = iota
  41. ProjectUserTypeConstruction //建设
  42. ProjectUserTypeProject //项目
  43. ProjectUserTypeSupervision //监理
  44. )