Files
web-crm.mcmed.ru/frontend/src/app/api/dtos/Builder/FeatureDto.ts
Viktoria Polyakova 4fb101c5db Init
2026-01-25 08:57:38 +00:00

16 lines
346 B
TypeScript

import { type FeatureCode } from '../../../../shared/lib/models/Feature/FeatureCode';
export class FeatureDto {
id: number;
name: string;
code: FeatureCode;
isEnabled: boolean;
constructor({ id, name, code, isEnabled }: FeatureDto) {
this.id = id;
this.name = name;
this.code = code;
this.isEnabled = isEnabled;
}
}