common.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. )
  15. const (
  16. DeviceStatusDelAuditting = iota // 拆机待审核
  17. DeviceStatusDelAuditted//拆机审核通过
  18. DeviceStatusDelAudittedFail//拆机审核未通过
  19. )
  20. const (
  21. DeviceTypeStatusAddTesting = iota //添加设备类型待对接测试
  22. DeviceTypeStatusAddTestted //对接测试通过
  23. DeviceTypeStatusAddTesttedFail //对接测试未通过
  24. DeviceTypeStatusAddAuditted //住建部审核通过
  25. DeviceTypeStatusAddAudittedFail //住建部审核未通过
  26. )
  27. const (
  28. ProviderStatusAddAuditting = iota
  29. ProviderStatusAddAuditted
  30. ProviderStatusAddAudittedFail
  31. )
  32. const (
  33. CompanyStatusAddAuditting = iota
  34. CompanyStatusAddAuditted
  35. CompanyStatusAddAudittedFail
  36. )
  37. const (
  38. ProjectStatusAddAuditting = iota
  39. ProjectStatusAddAuditted
  40. ProjectStatusAddAudittedFail
  41. )
  42. const (
  43. _ = iota
  44. ProjectUserTypeConstruction //建设
  45. ProjectUserTypeProject //项目
  46. ProjectUserTypeSupervision //监理
  47. )