12345678910111213141516171819 |
- <?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 => '合同跟进记录',
- ];
- }
|