mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 02:47:33 -05:00
Update scripts
This commit is contained in:
17
scripts/models/subdivision.ts
Normal file
17
scripts/models/subdivision.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user