Represents a base model extending from IMsModel with additional data of type T.

T The type of data associated with the base model.

interface MsBaseModel<T> {
    Data: T;
    Errors: string[];
    IsSuccess: boolean;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

Properties

Data: T

The data associated with the base model.

Errors: string[]

List of error messages if the operation was not successful.

IsSuccess: boolean

Indicates whether the operation was successful.