import { Event } from '@boostercloud/framework-core' ; import { UUID } from '@boostercloud/framework-types' ; import { SKU } from '../common/sku' ; import { Money } from '../common/money' ; import { Picture } from '../common/picture' ; export enum ProductUpdateReason { CatalogChange = 'CatalogChange' , FixDescription = 'FixDescription' , FixName = 'FixName' } @ Event export class ProductUpdated { public constructor ( readonly id , readonly sku , readonly name , readonly description , readonly price , readonly pictures , readonly deleted = false , readonly reason ) { } public entityID ( ) { return this . id ; } }