| 12345678910111213141516171819 | <?phpnamespace 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 = 'business_opportunity'; //商机    public static $type = [        self::type_one => '客户跟进记录',        self::type_two => '商机跟进记录',    ];}
 |