fix create sub bidang portofolio
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Prisma } from "@prisma/client";
|
||||
|
||||
export interface MODEL_PORTOFOLIO_Lama {
|
||||
id: string;
|
||||
namaBisnis: string;
|
||||
@@ -15,6 +17,21 @@ export interface BIDANG_BISNIS_OLD {
|
||||
active: boolean;
|
||||
}
|
||||
|
||||
export interface MODAL_SUB_BIDANG_BISNIS {
|
||||
id: string;
|
||||
name: string;
|
||||
isActive: boolean;
|
||||
}
|
||||
|
||||
export type ISUB_BIDANG_BISNIS = Prisma.MasterSubBidangBisnisGetPayload<{
|
||||
select: {
|
||||
id: true;
|
||||
name: true;
|
||||
isActive: true;
|
||||
masterBidangBisnisId: true;
|
||||
};
|
||||
}>;
|
||||
|
||||
export interface MODEL_PORTOFOLIO_OLD {
|
||||
id: string;
|
||||
namaBisnis: string;
|
||||
@@ -24,5 +41,7 @@ export interface MODEL_PORTOFOLIO_OLD {
|
||||
active: boolean;
|
||||
MasterBidangBisnis: BIDANG_BISNIS_OLD;
|
||||
masterBidangBisnisId: string
|
||||
MasterSubBidangBisnis: MODAL_SUB_BIDANG_BISNIS;
|
||||
masterSubBidangBisnisId?: string
|
||||
profileId: string,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user