51 lines
725 B
Perl
51 lines
725 B
Perl
package BurguillosInfo::Ads::ChaletEnVentaCalleHinojo;
|
|
|
|
use v5.36.0;
|
|
|
|
use strict;
|
|
use warnings;
|
|
use utf8;
|
|
|
|
use feature 'signatures';
|
|
|
|
use Moo;
|
|
|
|
use parent 'BurguillosInfo::Ad';
|
|
|
|
sub id ($self) {
|
|
return 'chalet-en-venta-calle-hinojo';
|
|
}
|
|
|
|
sub weight {
|
|
return 50;
|
|
}
|
|
|
|
sub max_alternative {
|
|
return 1;
|
|
}
|
|
|
|
sub seconds($self) {
|
|
return 15;
|
|
}
|
|
|
|
sub default_alternative($self) {
|
|
return int($self->alternative * ($self->max_alternative + 1));
|
|
}
|
|
|
|
sub is_active ($self) {
|
|
return 1;
|
|
}
|
|
|
|
sub img ($self) {
|
|
return '/img/chalet-calle-hinojo.webp';
|
|
}
|
|
|
|
sub text($self) {
|
|
return 'Chalet pareado en venta en calle Hinojo por 160 000€';
|
|
}
|
|
|
|
sub href {
|
|
return 'https://www.idealista.com/inmueble/104802645/';
|
|
}
|
|
1;
|