feat: factory article for product

This commit is contained in:
2025-01-19 19:44:41 +04:00
parent 0948a1da4a
commit c5bf21efda
7 changed files with 25 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import type { ProductImageSchema } from './ProductImageSchema';
export type ProductCreateRequest = {
name: string;
article?: (string | null);
factoryArticle?: (string | null);
clientId: number;
barcodes: Array<string>;
barcodeTemplate?: (BarcodeTemplateSchema | null);

View File

@@ -7,6 +7,7 @@ import type { ProductImageSchema } from './ProductImageSchema';
export type ProductSchema = {
name: string;
article?: (string | null);
factoryArticle?: (string | null);
clientId: number;
barcodes: Array<string>;
barcodeTemplate?: (BarcodeTemplateSchema | null);

View File

@@ -9,7 +9,7 @@ export type UserCreate = {
phoneNumber?: (string | null);
firstName: string;
secondName: string;
patronymic: string;
patronymic?: string;
comment: string;
passportData?: (string | null);
isAdmin: boolean;

View File

@@ -12,7 +12,7 @@ export type UserSchema = {
phoneNumber?: (string | null);
firstName: string;
secondName: string;
patronymic: string;
patronymic?: string;
comment: string;
passportData?: (string | null);
isAdmin: boolean;

View File

@@ -9,7 +9,7 @@ export type UserUpdate = {
phoneNumber?: (string | null);
firstName: string;
secondName: string;
patronymic: string;
patronymic?: string;
comment: string;
passportData?: (string | null);
isAdmin: boolean;