| 1234567891011121314151617181920212223242526 |
- <?php
- namespace App\Model;
- class Organization extends UseScopeBaseModel
- {
- protected $table = "organization"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const employee_column = "crt_id";
- public static $field = ['title','id','code','industry_name','industry_ranking','address','crt_id','crt_time','founding_time','type','decision_depart','decision_maker','new_product_rule','old_product_rule'];
- const type_one = 1;
- const type_two = 2;
- const type_three = 3;
- const type_four = 4;
- public static $type_name = [
- self::type_one => '国企',
- self::type_two => '央企',
- self::type_three => '私企',
- self::type_four => '外企',
- ];
- }
|