/* Options: Date: 2026-03-07 20:34:51 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAdvancedWorkflowInfoRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class Provider { public id: number; public name: string; public taxCode?: string; public address?: string; public email?: string; public phone?: string; public additionalInfo?: string; public providerType: number; public createdAt?: string; public createdBy?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Contract { public id: number; // @Required() public workflowId: number; // @StringLength(100) public contractNo?: string; // @StringLength(100) public contractDate?: string; public serviceName?: string; // @StringLength(100) public contractType?: string; public objective?: string; public location?: string; public createdAt: string; // @Required() public createdBy: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Estimate { public id: number; // @Required() public workflowId: number; public valueBeforeTax?: number; public taxAmount?: number; public totalAmount?: number; public createdAt: string; // @Required() public createdBy: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PurchaseHistory { public id: number; // @Required() public workflowId: number; public sequenceNo?: number; public detail?: string; // @StringLength(150) public unit?: string; public quantity?: number; public unitPrice?: number; public amount?: number; public note?: string; public name?: string; public purpose?: string; public createdAt: string; // @Required() public createdBy: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AdvancedWorkflowInfoData { public provider?: Provider; public contract?: Contract; public estimate?: Estimate; public purchaseHistory?: PurchaseHistory[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AdvancedWorkflowInfoResponse { public code: number; public message: string; public data: AdvancedWorkflowInfoData; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/workflow/{WorkflowId}/advanced-info", "GET") export class GetAdvancedWorkflowInfoRequest implements IReturn { public workflowId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAdvancedWorkflowInfoRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new AdvancedWorkflowInfoResponse(); } }