mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-04 00:00:40 +02:00
18 lines
287 B
TypeScript
18 lines
287 B
TypeScript
type SubdivisionProps = {
|
|
code: string
|
|
name: string
|
|
country: string
|
|
}
|
|
|
|
export class Subdivision {
|
|
code: string
|
|
name: string
|
|
country: string
|
|
|
|
constructor({ code, name, country }: SubdivisionProps) {
|
|
this.code = code
|
|
this.name = name
|
|
this.country = country
|
|
}
|
|
}
|