Feautre: Recipe export to xlsx Chore: Python 11 style type annotations Chore: Moved to sqlalchemy 2.0 Chore: Minimum python is 3.11 Fix: Fix nullability of a lot of fields in the database.
17 lines
311 B
TypeScript
17 lines
311 B
TypeScript
export class RecipeTemplate {
|
|
id: string;
|
|
name: string;
|
|
date: string;
|
|
text: string;
|
|
selected: boolean;
|
|
|
|
public constructor(init?: Partial<RecipeTemplate>) {
|
|
this.id = '';
|
|
this.name = '';
|
|
this.date = '';
|
|
this.text = '';
|
|
this.selected = false;
|
|
Object.assign(this, init);
|
|
}
|
|
}
|