OrganizationDetails.php 774 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace App\Model;
  3. class OrganizationDetails extends UseScopeBaseModel
  4. {
  5. protected $table = "organization_details"; //指定表
  6. const CREATED_AT = 'crt_time';
  7. const UPDATED_AT = 'upd_time';
  8. protected $dateFormat = 'U';
  9. const type_one = 1;
  10. const type_two = 2;
  11. const type_three = 3;
  12. const type_four = 4;
  13. const type_five = 5;
  14. const type_six = 6;
  15. const type_seven = 7;
  16. public static $type_name = [
  17. self::type_one => '上级单位',
  18. self::type_two => '下级单位',
  19. self::type_three => '营收信息',
  20. self::type_four => '主营业务',
  21. self::type_five => '主要需求',
  22. self::type_six => '竟对主要需求',
  23. self::type_seven => '客户主要需求',
  24. ];
  25. }