mirror of https://github.com/iptv-org/iptv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
287 B
TypeScript
18 lines
287 B
TypeScript
1 year ago
|
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
|
||
|
}
|
||
|
}
|