QuantizationCreate.php 589 B

123456789101112131415161718192021
  1. <?php
  2. namespace App\Model;
  3. class QuantizationCreate extends UseScopeBaseModel
  4. {
  5. protected $table = "quantization_create"; //指定表
  6. const CREATED_AT = 'crt_time';
  7. const UPDATED_AT = 'upd_time';
  8. protected $dateFormat = 'U';
  9. const employee_column = "crt_id";
  10. public static $field = ['customer_supply_id','id','crt_time','crt_id','type','products','score','start_time','end_time'];
  11. const type_one = 1;
  12. const type_two = 2;
  13. public static $type_name = [
  14. self::type_one => '能力量化',
  15. self::type_two => '合作现状量化',
  16. ];
  17. }