'boolean', 'is_remember' => 'boolean', ]; public static function default() { return static::where('is_bill', true)->where('is_remember', true)->first()->id; } public function isAccepted() { return $this->is_bill === false && $this->is_remember === false; } }