mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
code refactor
This commit is contained in:
+8
-8
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user