FollowUpRecord.php 467 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class FollowUpRecord extends Model
  5. {
  6. protected $table = "follow_up_record"; //指定表
  7. const CREATED_AT = 'crt_time';
  8. const UPDATED_AT = 'upd_time';
  9. protected $dateFormat = 'U';
  10. const type_one = 'customer';
  11. const type_two = 'sales_order';
  12. public static $type = [
  13. self::type_one => '客户跟进记录',
  14. self::type_two => '合同跟进记录',
  15. ];
  16. }