burguillos.info/lib/BurguillosInfo/Farmacia.pm

21 lines
279 B
Perl
Raw Normal View History

2023-09-07 18:12:28 +02:00
package BurguillosInfo::Farmacia;
use v5.36.0;
use strict;
use warnings;
use utf8;
use Moo::Role;
requires qw(id name address);
sub serialize ($self) {
return {
id => $self->id,
name => $self->name,
address => $self->address,
};
}
1;