mirror of
https://github.com/iptv-org/iptv
synced 2026-11-05 16:54:16 -05:00
15 lines
313 B
TypeScript
15 lines
313 B
TypeScript
import type { BlocklistRecordData } from '../types/blocklistRecord'
|
|||
|
|
|
||
|
|
export class BlocklistRecord {
|
||
|
|
channelId: string
|
||
|
|
reason: string
|
||
|
|
ref: string
|
||
|
|
|
||
|
|
constructor(data?: BlocklistRecordData) {
|
||
|
|
if (!data) return
|
||
|
|
|
||
|
|
this.channelId = data.channel
|
||
|
|
this.reason = data.reason
|
||
|
|
this.ref = data.ref
|
||
|
|
}
|
||
|
|
}
|