You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tp_ReactNative/JokesApp/model/Categorie.ts

24 lines
361 B

import {Joke} from "./Joke";
export class Categorie{
private _name : string;
private _number : number;
get name(): string {
return this._name;
}
get number(): number {
return this._number;
}
public constructor(name :string, number :number) {
this._name = name;
this._number = number;
}
}