cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
64 lines (63 loc) • 2.2 kB
TypeScript
import { ICoreSygms } from "../../schema";
import { controllerResponse } from "../../utilities";
export declare class IGeneralMasterListRequest {
sygms_id_sygmt?: string;
sygms_entity_id_syen?: string;
sygmt_code?: string;
constructor(init: Partial<IGeneralMasterListRequest>);
Validate?(): Partial<Record<keyof IGeneralMasterListRequest, string>>;
}
export declare class MGeneralMasterDeletePayload {
sygms_id: string;
constructor(init: MGeneralMasterDeletePayload);
Validate?(): Partial<Record<keyof MGeneralMasterDeletePayload, string>>;
}
export declare class MGeneralMasterGetByIdPayload {
sygms_id: string;
constructor(init: MGeneralMasterGetByIdPayload);
Validate?(): Partial<Record<keyof MGeneralMasterGetByIdPayload, string>>;
}
export declare class MGeneralMasterToggleStatusPayload {
sygms_id: string;
constructor(init: MGeneralMasterToggleStatusPayload);
Validate?(): Partial<Record<keyof MGeneralMasterToggleStatusPayload, string>>;
}
export interface IGeneralMasterListRequest {
sygmt_code?: string;
sygms_id_sygmt?: string;
sygms_code?: string;
sygms_id_sygms?: string | null;
sygms_entity_id_syen?: string;
}
export interface IGeneralMasterListResponse {
success: boolean;
message: string;
data: ICoreSygms[];
total: number;
pageIndex: number;
pageSize: number;
}
export declare class MGeneralMaster extends ICoreSygms {
constructor(init: Partial<MGeneralMaster>);
Validate?(): Partial<Record<keyof MGeneralMaster, string>>;
}
export interface generalMasterByIdControllerResponse extends controllerResponse {
data?: ICoreSygms;
}
export interface generalMasterInsertUpdateControllerResponse extends controllerResponse {
data?: ICoreSygms;
}
export interface generalMasterDeleteControllerResponse extends controllerResponse {
data?: {
deleted: boolean;
};
}
export interface generalMasterToggleStatusControllerResponse extends controllerResponse {
data?: ICoreSygms;
}
export interface generalMasterListControllerResponse extends controllerResponse {
data?: ICoreSygms[];
total?: number;
pageIndex?: number;
pageSize?: number;
}