finerio-pfm-unnax
Version:
This SDK lets you connect to [Finerio PFM API Unnax](http://ec2-3-16-174-50.us-east-2.compute.amazonaws.com:8082/swagger-ui/index.html#/) in an easier way.
23 lines (22 loc) • 729 B
TypeScript
import { ICategory } from "../../interfaces";
import { PlainObject } from "../../types";
export default class Category implements ICategory {
private _id;
private _name;
private _color;
private _userId;
private _parentCategoryId;
private _imagePath;
private _dateCreated;
private _lastUpdated;
constructor({ id, name, color, parentCategoryId, userId, imagePath, dateCreated, lastUpdated, }: ICategory);
get id(): number;
get name(): string;
get color(): string;
get parentCategoryId(): number | null;
get userId(): number | null;
get imagePath(): string;
get dateCreated(): number | null;
get lastUpdated(): number | null;
get plainObject(): PlainObject;
}