mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-20 00:02:19 +02:00
15 lines
196 B
TypeScript
15 lines
196 B
TypeScript
|
type CategoryProps = {
|
||
|
id: string
|
||
|
name: string
|
||
|
}
|
||
|
|
||
|
export class Category {
|
||
|
id: string
|
||
|
name: string
|
||
|
|
||
|
constructor({ id, name }: CategoryProps) {
|
||
|
this.id = id
|
||
|
this.name = name
|
||
|
}
|
||
|
}
|