belongsTo(Country::class); } public static function getProvinces() { return self::select('id','province_name')->where('status','Active')->get(); } public static function getProvincesByCountryId($country_id) { return self::select('id','province_name')->where('status','Active')->where('country_id',$country_id)->get(); } }