-
Notifications
You must be signed in to change notification settings - Fork 2
/
vo.go
102 lines (97 loc) · 3.59 KB
/
vo.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package main
type CheckingAccount struct {
Number int64 `json:"number"`
Fname string `json:"fname"`
Lname string `json:"lname"`
State string `json:"state"`
City string `json:"city"`
Zip string `json:"zip"`
OpenDate string `json:"openDate"`
Address string `json:"address"`
Id int64 `json:"id"`
Balance float64 `json:"balance"`
Charge float64 `json:"charges"`
Type string `json:"type"`
}
type SavingAccount struct {
Number int64 `json:"number"`
Fname string `json:"fname"`
Lname string `json:"lname"`
State string `json:"state"`
City string `json:"city"`
Zip string `json:"zip"`
OpenDate string `json:"openDate"`
Address string `json:"address"`
Id int64 `json:"id"`
Balance float64 `json:"balance"`
Rate float64 `json:"rate"`
Type string `json:"type"`
}
type StudentLoanAccount struct {
Number int64 `json:"number"`
Fname string `json:"fname"`
Lname string `json:"lname"`
State string `json:"state"`
City string `json:"city"`
Zip string `json:"zip"`
OpenDate string `json:"openDate"`
Address string `json:"address"`
Id int64 `json:"id"`
Rate float64 `json:"rate"`
Amount float64 `json:"amount"`
Months int32 `json:"months"`
Payment float64 `json:"payment"`
UniversityName string `json:"universityName"`
StudentID string `json:"studentID"`
EducationType string `json:"educationType"`
ExpectGradDate string `json:"expectGradDate"`
}
type HomeLoanAccount struct {
Number int64 `json:"number"`
Fname string `json:"fname"`
Lname string `json:"lname"`
State string `json:"state"`
City string `json:"city"`
Zip string `json:"zip"`
OpenDate string `json:"openDate"`
Address string `json:"address"`
Id int64 `json:"id"`
Rate float64 `json:"rate"`
Amount float64 `json:"amount"`
Months int32 `json:"months"`
Payment float64 `json:"payment"`
HouseBuildYear string `json:"houseBuildYear"`
InsuranceAccNo int64 `json:"insuranceAccNo"`
InsuranceCompanyName string `json:"insuranceCompanyName"`
InsuranceCompanyState string `json:"insuranceCompanyState"`
InsuranceCompanyCity string `json:"insuranceCompanyCity"`
InsuranceCompanyZip string `json:"insuranceCompanyZip"`
InsuranceCompanyAddress string `json:"insuranceCompanyAddress"`
InsuranceCompanyPremium float64 `json:"insuranceCompanyPremium"`
}
type PersonalLoanAccount struct {
Number int64 `json:"number"`
Fname string `json:"fname"`
Lname string `json:"lname"`
State string `json:"state"`
City string `json:"city"`
Zip string `json:"zip"`
OpenDate string `json:"openDate"`
Address string `json:"address"`
Id int64 `json:"id"`
Rate float64 `json:"rate"`
Amount float64 `json:"amount"`
Months int32 `json:"months"`
Payment float64 `json:"payment"`
}
type NumberType struct {
Number int64 `json:"number"`
Type string `json:"type"`
}
type LoanSummary struct {
Number string `json:"number"` // 贷款编号
Type string `json:"type"` // 贷款类型
OriginalAmount float64 `json:"original_amount"` // 原始金额
RemainingAmount float64 `json:"remaining_amount"` // 剩余金额
RemainingMonths int `json:"remaining_months"` // 剩余月数
}