19 lines
No EOL
352 B
TypeScript
19 lines
No EOL
352 B
TypeScript
export enum CategoryType {
|
|
SAVING = "saving",
|
|
EXPENSE = "expense",
|
|
}
|
|
export interface Category {
|
|
guid? : string;
|
|
name? : string;
|
|
color? :string;
|
|
type? : "expense" | "saving"
|
|
allocatedAmount? : number
|
|
}
|
|
|
|
export interface Expense {
|
|
guid? : string;
|
|
name? : string;
|
|
dateTime? : string;
|
|
amount?: number;
|
|
category_guid?: string;
|
|
} |