slovocast/server/src/models/Channel.ts

13 lines
241 B
TypeScript

export default class Channel {
private name: string;
private slug: string;
private constructor(name: string) {
this.name = name;
}
public static generateSlug(name: string): string {
return name;
}
}