mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-09 07:02:35 +01:00
saving with admin and public base
This commit is contained in:
parent
06776d15c4
commit
dd1b2763d8
425 changed files with 21493 additions and 11663 deletions
16
src/app/admin/category/category.model.ts
Normal file
16
src/app/admin/category/category.model.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue