chore: initial commit of HouseholdBudgetBook (backend, frontend, desktop)
This commit is contained in:
commit
4a5db3f1f9
167 files changed
+21732
No files matched your search
@@ -0,0 +1,53 @@
|
||||
package model
|
||||
|
||||
type Account struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Balance int64 `json:"balance"` // 开账初值(手工录入)
|
||||
CurrentBalance int64 `json:"current_balance"` // = balance + 历史流水净额(实时派生)
|
||||
BankName string `json:"bank_name"`
|
||||
CardNumber string `json:"card_number"`
|
||||
BranchName string `json:"branch_name"`
|
||||
Note string `json:"note"`
|
||||
IsActive bool `json:"is_active"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateAccountRequest struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Balance int64 `json:"balance"`
|
||||
BankName string `json:"bank_name"`
|
||||
CardNumber string `json:"card_number"`
|
||||
BranchName string `json:"branch_name"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
|
||||
type UpdateAccountRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Type *string `json:"type,omitempty"`
|
||||
Balance *int64 `json:"balance,omitempty"`
|
||||
BankName *string `json:"bank_name,omitempty"`
|
||||
CardNumber *string `json:"card_number,omitempty"`
|
||||
BranchName *string `json:"branch_name,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
IsActive *bool `json:"is_active,omitempty"`
|
||||
}
|
||||
|
||||
type ReconcileAccountRequest struct {
|
||||
ActualBalance int64 `json:"actual_balance"`
|
||||
Note string `json:"note"`
|
||||
CreateAdjustment bool `json:"create_adjustment"`
|
||||
}
|
||||
type AccountReconciliation struct {
|
||||
ID int64 `json:"id"`
|
||||
AccountID int64 `json:"account_id"`
|
||||
SystemBalance int64 `json:"system_balance"`
|
||||
ActualBalance int64 `json:"actual_balance"`
|
||||
Difference int64 `json:"difference"`
|
||||
TransactionID *int64 `json:"transaction_id"`
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package model
|
||||
|
||||
type Asset struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Value int64 `json:"value"` // 绑定账户时为派生值;手工资产为录入值
|
||||
AccountID *int64 `json:"account_id"` // 若不为 NULL,value 由该账户的 current_balance 派生
|
||||
AccountName string `json:"account_name"` // 仅响应字段
|
||||
IsDerived bool `json:"is_derived"` // 仅响应字段:account_id 是否绑定
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateAssetRequest struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Value int64 `json:"value"`
|
||||
AccountID *int64 `json:"account_id,omitempty"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
|
||||
type UpdateAssetRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Type *string `json:"type,omitempty"`
|
||||
Value *int64 `json:"value,omitempty"`
|
||||
AccountID NullableInt64 `json:"account_id,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
}
|
||||
|
||||
type Liability struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Principal int64 `json:"principal"`
|
||||
InterestRate float64 `json:"interest_rate"`
|
||||
MonthlyPayment int64 `json:"monthly_payment"`
|
||||
RemainingTerms int `json:"remaining_terms"`
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateLiabilityRequest struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Principal int64 `json:"principal"`
|
||||
InterestRate float64 `json:"interest_rate"`
|
||||
MonthlyPayment int64 `json:"monthly_payment"`
|
||||
RemainingTerms int `json:"remaining_terms"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
|
||||
type UpdateLiabilityRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Type *string `json:"type,omitempty"`
|
||||
Principal *int64 `json:"principal,omitempty"`
|
||||
InterestRate *float64 `json:"interest_rate,omitempty"`
|
||||
MonthlyPayment *int64 `json:"monthly_payment,omitempty"`
|
||||
RemainingTerms *int `json:"remaining_terms,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
}
|
||||
|
||||
type NetWorthSummary struct {
|
||||
TotalAssets int64 `json:"total_assets"` // assets 表手工录入项汇总
|
||||
TotalDebt int64 `json:"total_debt"` // liabilities 表手工录入项汇总
|
||||
LiquidAssets int64 `json:"liquid_assets"` // 由活跃账户当前余额派生:非信用卡且 current_balance > 0
|
||||
LiquidDebt int64 `json:"liquid_debt"` // 由活跃账户当前余额派生:信用卡且 current_balance < 0 时的欠款绝对值
|
||||
NetWorth int64 `json:"net_worth"` // = total_assets + liquid_assets - total_debt - liquid_debt
|
||||
}
|
||||
|
||||
type AssetSnapshot struct {
|
||||
ID int64 `json:"id"`
|
||||
Date string `json:"date"`
|
||||
TotalAsset int64 `json:"total_asset"`
|
||||
TotalDebt int64 `json:"total_debt"`
|
||||
NetWorth int64 `json:"net_worth"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package model
|
||||
|
||||
type BackupStatus struct {
|
||||
Directory string `json:"directory"`
|
||||
LastBackup string `json:"last_backup"`
|
||||
LastBackupAt string `json:"last_backup_at"`
|
||||
RetentionDays int `json:"retention_days"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package model
|
||||
|
||||
type Budget struct {
|
||||
ID int64 `json:"id"`
|
||||
Year int `json:"year"`
|
||||
Month *int `json:"month"`
|
||||
CategoryID *int64 `json:"category_id"`
|
||||
CategoryName string `json:"category_name"`
|
||||
CategoryType string `json:"category_type"`
|
||||
Amount int64 `json:"amount"`
|
||||
Spent int64 `json:"spent"`
|
||||
Remaining int64 `json:"remaining"`
|
||||
UsagePercent float64 `json:"usage_percent"`
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type UpsertBudgetRequest struct {
|
||||
Year int `json:"year"`
|
||||
Month *int `json:"month"`
|
||||
CategoryID *int64 `json:"category_id"`
|
||||
Amount int64 `json:"amount"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
|
||||
type BudgetOverview struct {
|
||||
Year int `json:"year"`
|
||||
Month int `json:"month"`
|
||||
AnnualBudget int64 `json:"annual_budget"`
|
||||
AnnualSpent int64 `json:"annual_spent"`
|
||||
AnnualRemaining int64 `json:"annual_remaining"`
|
||||
AnnualUsagePercent float64 `json:"annual_usage_percent"`
|
||||
MonthlyBudget int64 `json:"monthly_budget"`
|
||||
MonthlySpent int64 `json:"monthly_spent"`
|
||||
MonthlyBudgetedSpent int64 `json:"monthly_budgeted_spent"`
|
||||
MonthlyUnbudgetedSpent int64 `json:"monthly_unbudgeted_spent"`
|
||||
MonthlyRemaining int64 `json:"monthly_remaining"`
|
||||
MonthlyUsagePercent float64 `json:"monthly_usage_percent"`
|
||||
Items []Budget `json:"items"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package model
|
||||
|
||||
type Category struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
ParentID *int64 `json:"parent_id"`
|
||||
SortOrder int `json:"sort_order"`
|
||||
Keywords string `json:"keywords"`
|
||||
IsActive bool `json:"is_active"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateCategoryRequest struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
ParentID *int64 `json:"parent_id,omitempty"`
|
||||
SortOrder int `json:"sort_order"`
|
||||
Keywords string `json:"keywords"`
|
||||
}
|
||||
|
||||
type UpdateCategoryRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
ParentID NullableInt64 `json:"parent_id,omitempty"`
|
||||
SortOrder *int `json:"sort_order,omitempty"`
|
||||
Keywords *string `json:"keywords,omitempty"`
|
||||
IsActive *bool `json:"is_active,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package model
|
||||
|
||||
type DashboardSummary struct {
|
||||
Income int64 `json:"income"`
|
||||
Expense int64 `json:"expense"`
|
||||
Balance int64 `json:"balance"`
|
||||
TransactionCount int64 `json:"transaction_count"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package model
|
||||
|
||||
type LifecycleEvent struct {
|
||||
ID int64 `json:"id"`
|
||||
Year int `json:"year"`
|
||||
MemberID *int64 `json:"member_id"`
|
||||
MemberName string `json:"member_name"`
|
||||
Event string `json:"event"`
|
||||
EstimatedCost int64 `json:"estimated_cost"`
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateLifecycleEventRequest struct {
|
||||
Year int `json:"year"`
|
||||
MemberID *int64 `json:"member_id"`
|
||||
Event string `json:"event"`
|
||||
EstimatedCost int64 `json:"estimated_cost"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
|
||||
type UpdateLifecycleEventRequest struct {
|
||||
Year *int `json:"year,omitempty"`
|
||||
MemberID NullableInt64 `json:"member_id,omitempty"`
|
||||
Event *string `json:"event,omitempty"`
|
||||
EstimatedCost *int64 `json:"estimated_cost,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package model
|
||||
|
||||
type Member struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Relation string `json:"relation"`
|
||||
Birthday string `json:"birthday"`
|
||||
Phone string `json:"phone"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateMemberRequest struct {
|
||||
Name string `json:"name"`
|
||||
Relation string `json:"relation"`
|
||||
Birthday string `json:"birthday"`
|
||||
Phone string `json:"phone"`
|
||||
}
|
||||
|
||||
type UpdateMemberRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Relation *string `json:"relation,omitempty"`
|
||||
Birthday *string `json:"birthday,omitempty"`
|
||||
Phone *string `json:"phone,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
type NullableInt64 struct {
|
||||
Set bool
|
||||
Valid bool
|
||||
Value int64
|
||||
}
|
||||
|
||||
func (n *NullableInt64) UnmarshalJSON(data []byte) error {
|
||||
n.Set = true
|
||||
if bytes.Equal(data, []byte("null")) {
|
||||
n.Valid = false
|
||||
n.Value = 0
|
||||
return nil
|
||||
}
|
||||
|
||||
var value int64
|
||||
if err := json.Unmarshal(data, &value); err != nil {
|
||||
return err
|
||||
}
|
||||
n.Valid = true
|
||||
n.Value = value
|
||||
return nil
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
package model
|
||||
|
||||
type Policy struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
InsuredPerson string `json:"insured_person"`
|
||||
Premium int64 `json:"premium"`
|
||||
CoverageAmount int64 `json:"coverage_amount"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
PaymentFrequency string `json:"payment_frequency"`
|
||||
NextPaymentDate string `json:"next_payment_date"`
|
||||
PaymentTermEnd string `json:"payment_term_end"`
|
||||
Beneficiary string `json:"beneficiary"`
|
||||
Status string `json:"status"`
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreatePolicyRequest struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
InsuredPerson string `json:"insured_person"`
|
||||
Premium int64 `json:"premium"`
|
||||
CoverageAmount int64 `json:"coverage_amount"`
|
||||
StartDate string `json:"start_date"`
|
||||
EndDate string `json:"end_date"`
|
||||
PaymentFrequency string `json:"payment_frequency"`
|
||||
NextPaymentDate string `json:"next_payment_date"`
|
||||
PaymentTermEnd string `json:"payment_term_end"`
|
||||
Beneficiary string `json:"beneficiary"`
|
||||
Status string `json:"status"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
|
||||
type UpdatePolicyRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Type *string `json:"type,omitempty"`
|
||||
InsuredPerson *string `json:"insured_person,omitempty"`
|
||||
Premium *int64 `json:"premium,omitempty"`
|
||||
CoverageAmount *int64 `json:"coverage_amount,omitempty"`
|
||||
StartDate *string `json:"start_date,omitempty"`
|
||||
EndDate *string `json:"end_date,omitempty"`
|
||||
PaymentFrequency *string `json:"payment_frequency,omitempty"`
|
||||
NextPaymentDate *string `json:"next_payment_date,omitempty"`
|
||||
PaymentTermEnd *string `json:"payment_term_end,omitempty"`
|
||||
Beneficiary *string `json:"beneficiary,omitempty"`
|
||||
Status *string `json:"status,omitempty"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
}
|
||||
|
||||
type PolicyAnnualSummary struct {
|
||||
Year int `json:"year"`
|
||||
TotalPremium int64 `json:"total_premium"`
|
||||
PolicyCount int `json:"policy_count"`
|
||||
}
|
||||
|
||||
type PolicyPayment struct {
|
||||
ID int64 `json:"id"`
|
||||
PolicyID int64 `json:"policy_id"`
|
||||
PolicyName string `json:"policy_name"`
|
||||
DueDate string `json:"due_date"`
|
||||
Amount int64 `json:"amount"`
|
||||
Status string `json:"status"`
|
||||
PaidDate string `json:"paid_date"`
|
||||
Note string `json:"note"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreatePolicyPaymentRequest struct {
|
||||
DueDate string `json:"due_date"`
|
||||
Amount int64 `json:"amount"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
type UpdatePolicyPaymentRequest struct {
|
||||
Status string `json:"status"`
|
||||
PaidDate string `json:"paid_date"`
|
||||
Note *string `json:"note,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package model
|
||||
|
||||
type CategoryRankingItem struct {
|
||||
CategoryID int64 `json:"category_id"`
|
||||
CategoryName string `json:"category_name"`
|
||||
CategoryIsActive bool `json:"category_is_active"`
|
||||
Amount int64 `json:"amount"`
|
||||
Percent float64 `json:"percent"`
|
||||
}
|
||||
|
||||
type TrendItem struct {
|
||||
Month string `json:"month"`
|
||||
Income int64 `json:"income"`
|
||||
Expense int64 `json:"expense"`
|
||||
Balance int64 `json:"balance"`
|
||||
}
|
||||
|
||||
type ReportOverview struct {
|
||||
Year int `json:"year"`
|
||||
Month int `json:"month"`
|
||||
CategoryRanking []CategoryRankingItem `json:"category_ranking"`
|
||||
Trend []TrendItem `json:"trend"`
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
package model
|
||||
|
||||
type Transaction struct {
|
||||
ID int64 `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Amount int64 `json:"amount"`
|
||||
CategoryID *int64 `json:"category_id"`
|
||||
AccountID *int64 `json:"account_id"`
|
||||
ToAccountID *int64 `json:"to_account_id"`
|
||||
MemberID *int64 `json:"member_id"`
|
||||
Date string `json:"date"`
|
||||
Description string `json:"description"`
|
||||
Counterparty string `json:"counterparty"`
|
||||
ImportBatchID *int64 `json:"import_batch_id"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type TransactionListItem struct {
|
||||
ID int64 `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Amount int64 `json:"amount"`
|
||||
CategoryID *int64 `json:"category_id"`
|
||||
CategoryName string `json:"category_name"`
|
||||
CategoryIsActive bool `json:"category_is_active"`
|
||||
AccountID *int64 `json:"account_id"`
|
||||
AccountName string `json:"account_name"`
|
||||
ToAccountID *int64 `json:"to_account_id"`
|
||||
ToAccountName string `json:"to_account_name"`
|
||||
MemberID *int64 `json:"member_id"`
|
||||
MemberName string `json:"member_name"`
|
||||
Date string `json:"date"`
|
||||
Description string `json:"description"`
|
||||
Counterparty string `json:"counterparty"`
|
||||
ImportBatchID *int64 `json:"import_batch_id"`
|
||||
ImportFilename string `json:"import_filename"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateTransactionRequest struct {
|
||||
Type string `json:"type"`
|
||||
Amount int64 `json:"amount"`
|
||||
CategoryID *int64 `json:"category_id,omitempty"`
|
||||
AccountID *int64 `json:"account_id,omitempty"`
|
||||
ToAccountID *int64 `json:"to_account_id,omitempty"`
|
||||
MemberID *int64 `json:"member_id,omitempty"`
|
||||
Date string `json:"date"`
|
||||
Description string `json:"description"`
|
||||
Counterparty string `json:"counterparty"`
|
||||
}
|
||||
|
||||
type UpdateTransactionRequest struct {
|
||||
Type *string `json:"type,omitempty"`
|
||||
Amount *int64 `json:"amount,omitempty"`
|
||||
CategoryID NullableInt64 `json:"category_id,omitempty"`
|
||||
AccountID NullableInt64 `json:"account_id,omitempty"`
|
||||
ToAccountID NullableInt64 `json:"to_account_id,omitempty"`
|
||||
MemberID NullableInt64 `json:"member_id,omitempty"`
|
||||
Date *string `json:"date,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
Counterparty *string `json:"counterparty,omitempty"`
|
||||
}
|
||||
|
||||
type TransactionListRequest struct {
|
||||
Month string
|
||||
CategoryID *int64
|
||||
Type string
|
||||
Keyword string
|
||||
DateFrom string
|
||||
DateTo string
|
||||
MemberID *int64
|
||||
AccountID *int64
|
||||
ImportBatchID *int64
|
||||
Page int
|
||||
PageSize int
|
||||
}
|
||||
|
||||
type TransactionListResponse struct {
|
||||
Items []TransactionListItem `json:"items"`
|
||||
Total int `json:"total"`
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"page_size"`
|
||||
}
|
||||
|
||||
type ImportTransactionsRequest struct {
|
||||
Filename string
|
||||
Content []byte
|
||||
SourceKind string // cmb_debit / cmb_credit / alipay / wechat
|
||||
BankName string
|
||||
CardType string
|
||||
AccountID *int64
|
||||
CategoryOverrides map[string]int64
|
||||
}
|
||||
|
||||
type ImportTransactionsResult struct {
|
||||
ImportedCount int `json:"imported_count"`
|
||||
SkippedCount int `json:"skipped_count"`
|
||||
AccountID int64 `json:"account_id"`
|
||||
ImportBatchID int64 `json:"import_batch_id"`
|
||||
Items []TransactionListItem `json:"items"`
|
||||
}
|
||||
|
||||
// ImportPreviewItem 导入预览中的一条解析结果(尚未写入数据库)。
|
||||
type ImportPreviewItem struct {
|
||||
SourceKey string `json:"source_key"`
|
||||
Type string `json:"type"`
|
||||
Amount int64 `json:"amount"`
|
||||
Date string `json:"date"`
|
||||
Description string `json:"description"`
|
||||
Counterparty string `json:"counterparty"`
|
||||
CategoryName string `json:"category_name"`
|
||||
CategoryID int64 `json:"category_id"`
|
||||
CategoryReason string `json:"category_reason"`
|
||||
Status string `json:"status"` // new | duplicate_database | duplicate_file
|
||||
}
|
||||
|
||||
type ImportPreviewResult struct {
|
||||
TotalCount int `json:"total_count"`
|
||||
NewCount int `json:"new_count"`
|
||||
DuplicateCount int `json:"duplicate_count"`
|
||||
AccountName string `json:"account_name"`
|
||||
WillCreateAccount bool `json:"will_create_account"`
|
||||
Items []ImportPreviewItem `json:"items"`
|
||||
}
|
||||
|
||||
type DeleteTransactionsRequest struct {
|
||||
IDs []int64 `json:"ids"`
|
||||
}
|
||||
|
||||
type DeleteTransactionsResult struct {
|
||||
DeletedCount int64 `json:"deleted_count"`
|
||||
}
|
||||
|
||||
type ImportBatch struct {
|
||||
ID int64 `json:"id"`
|
||||
Filename string `json:"filename"`
|
||||
BankName string `json:"bank_name"`
|
||||
CardType string `json:"card_type"`
|
||||
AccountID *int64 `json:"account_id"`
|
||||
AccountName string `json:"account_name"`
|
||||
ImportedCount int `json:"imported_count"`
|
||||
SkippedCount int `json:"skipped_count"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
}
|
||||
Reference in new issue
Block a user