You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
31 lines
587 B
TypeScript
31 lines
587 B
TypeScript
import { IProductData } from '@nitrots/api';
|
|
|
|
export class ProductData implements IProductData
|
|
{
|
|
private _type: string;
|
|
private _name: string;
|
|
private _description: string;
|
|
|
|
constructor(type: string, name: string, description: string)
|
|
{
|
|
this._type = type;
|
|
this._name = name;
|
|
this._description = description;
|
|
}
|
|
|
|
public get type(): string
|
|
{
|
|
return this._type;
|
|
}
|
|
|
|
public get name(): string
|
|
{
|
|
return this._name;
|
|
}
|
|
|
|
public get description(): string
|
|
{
|
|
return this._description;
|
|
}
|
|
}
|