code refactor

This commit is contained in:
MaysWind
2025-01-13 21:40:17 +08:00
parent 2be329974e
commit c1f94a4499
+8 -8
View File
@@ -7,14 +7,14 @@ import { TransactionEditScopeType } from '@/core/transaction.ts';
import type { TransactionCategoryCreateBatchRequest } from './transaction_category.ts';
export class User {
username: string = '';
password: string = '';
confirmPassword: string = '';
email: string = '';
nickname: string = '';
language: string;
defaultCurrency: string;
firstDayOfWeek: number;
public username: string = '';
public password: string = '';
public confirmPassword: string = '';
public email: string = '';
public nickname: string = '';
public language: string;
public defaultCurrency: string;
public firstDayOfWeek: number;
private constructor(language: string, defaultCurrency: string, firstDayOfWeek: number) {
this.language = language;