packages/server/src/modules/productCategory/category.interface.ts
Properties |
desc |
Type : string
|
Decorators :
@IsString()
|
label |
Type : string
|
Decorators :
@IsString()
|
name |
Type : string
|
Decorators :
@IsString()
|
import { IsNumber, IsString, Length, Max, Min } from "class-validator";
import { PermissionType } from "@bill/database";
import { BaseQuery } from "@/common/interfaces/query";
export class ProductCategoryRequest {
@IsString()
name: string;
@IsString()
label: string;
@IsString()
desc: string;
}
export class ProductCategoryQuery extends BaseQuery {}