12345678910111213141516171819202122232425262728 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class FollowUpRecord extends Model
- {
- protected $table = "follow_up_record"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const type_one = 'customer';
- const type_two = 'sales_order';
- public static $type = [
- self::type_one => '客户跟进记录',
- self::type_two => '合同跟进记录',
- ];
- const follow_type_zero = 0;
- const follow_type_one = 1;
- const follow_type_two = 2;
- public static $follow_type = [
- self::follow_type_zero => '跟进中',
- self::follow_type_one => '联系不上',
- self::follow_type_two => '无意向',
- ];
- }
|