mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
16 lines
378 B
TypeScript
16 lines
378 B
TypeScript
import { CategoryCount } from "./category-count.model";
|
|
|
|
export class Category {
|
|
id!: string;
|
|
name!: string;
|
|
createdAt!: Date;
|
|
updatedAt!: Date | null;
|
|
//Products?: Array<Product>;
|
|
SubCategory?: Array<any>; //TODO:
|
|
_count?: CategoryCount;
|
|
|
|
constructor() {
|
|
this.SubCategory = [];
|
|
this._count = new CategoryCount();
|
|
}
|
|
}
|