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'; import type { TransactionCategoryCreateBatchRequest } from './transaction_category.ts';
export class User { export class User {
username: string = ''; public username: string = '';
password: string = ''; public password: string = '';
confirmPassword: string = ''; public confirmPassword: string = '';
email: string = ''; public email: string = '';
nickname: string = ''; public nickname: string = '';
language: string; public language: string;
defaultCurrency: string; public defaultCurrency: string;
firstDayOfWeek: number; public firstDayOfWeek: number;
private constructor(language: string, defaultCurrency: string, firstDayOfWeek: number) { private constructor(language: string, defaultCurrency: string, firstDayOfWeek: number) {
this.language = language; this.language = language;