OfferConstant.php 711 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace app\common\constant;
  3. /**
  4. * 呈批常量类
  5. */
  6. class OfferConstant
  7. {
  8. // 呈批类型:1=采购类呈批,2=非采购类呈批
  9. const TYPE_1 = '1';
  10. const TYPE_2 = '2';
  11. public static function get_type_list()
  12. {
  13. return [
  14. self::TYPE_1 => '采购类呈批',
  15. self::TYPE_2 => '非采购类呈批',
  16. ];
  17. }
  18. // 缓急程度:1=普通,2=紧急,3=特急
  19. const DEGREE_1 = '1';
  20. const DEGREE_2 = '2';
  21. const DEGREE_3 = '3';
  22. public static function get_degree_list()
  23. {
  24. return [
  25. self::DEGREE_1 => '普通',
  26. self::DEGREE_2 => '紧急',
  27. self::DEGREE_3 => '特急',
  28. ];
  29. }
  30. }