Documentation
brochure {.u-pearl}
Brochure representation.
A brochure is an organizational unit, as it groups tours{.u-pearl .u-red-hover}. Each brochure usually covers a specific season and a product type. Related brochures are grouped inside catalogs{.u-pearl .u-red-hover}.
Brochures are essential to correctly address tours at reservation time, because tour codes could repeat across brochures. Also every departure date of every tour belonging a brochure must be between brochure's start and end dates.
attributes {.u-pearl}
code {.u-pearl}
[int] {.u-lightPearl}
Brochure's code.
name {.u-pearl}
[string] {.u-lightPearl}
Brochure's name.
startdate {.u-pearl}
[date:yyyy-mm-dd] {.u-lightPearl}
Brochure's start date.
enddate {.u-pearl}
[date:yyyy-mm-dd] {.u-lightPearl}
Brochure's end date.
catalog {.u-pearl}
[int] {.u-lightPearl}
Catalog's code to which this brochure belongs.