Init
This commit is contained in:
15
frontend/src/app/api/dtos/Builder/FeatureDto.ts
Normal file
15
frontend/src/app/api/dtos/Builder/FeatureDto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user