fix: แก้ type ของ status
This commit is contained in:
parent
42a4245299
commit
566798e35a
1 changed files with 4 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
|
import { Status } from '../types';
|
||||||
|
|
||||||
export type ProductGroup = {
|
export type ProductGroup = {
|
||||||
id: string;
|
id: string;
|
||||||
code: string;
|
code: string;
|
||||||
name: string;
|
name: string;
|
||||||
detail: string;
|
detail: string;
|
||||||
remark: string;
|
remark: string;
|
||||||
status: string;
|
status: Status;
|
||||||
createdBy: string;
|
createdBy: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
updateBy: string;
|
updateBy: string;
|
||||||
|
|
@ -15,6 +17,7 @@ export interface ProductGroupCreate {
|
||||||
remark: string;
|
remark: string;
|
||||||
detail: string;
|
detail: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
code: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductGroupUpdate {
|
export interface ProductGroupUpdate {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue