targo-backend/src/customer-support/dtos/television.dto.ts

27 lines
659 B
TypeScript

import { Customer } from "src/customer-support/dtos/customer.dto";
import { Service } from "src/customer-support/dtos/services.dto";
import { Comments } from "src/customer-support/shared/shared-class.dto";
//Television is a product, can be "A la carte" or by package
export class Television {
service: Service;
channel?: Channels[];
package?: ChannelPackages;
}
export class Channels {
number: number;
name: string;
owner: string;
unitPrice: number;
unitSoldPrice: number;
bundlePrice: number;
bundleSoldPrice: number;
note: Comments;
}
export class ChannelPackages {
price: number;
isActive: boolean;
}