Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loan ¶
type LoanBasicInfo ¶
type LoanBasicInfo struct { Id int64 `gorm:"primary_key;AUTO_INCREMENT" json:"id"` Name string `json:"name"` LoanId int64 `json:"loan_id"` LoanType int `json:"loan_type"` Principal float64 `json:"principal"` InterestRate float64 `json:"interest_rate"` Periods int `json:"periods"` StartDate time.Time `json:"start_date"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
func (*LoanBasicInfo) TableName ¶
func (t *LoanBasicInfo) TableName() string
type LoanType ¶
type Repayment ¶
type Repayment struct { Id int64 `gorm:"primary_key;AUTO_INCREMENT" json:"id"` LoanBasicInfoId int64 `json:"loan_basic_info_id"` Period int `json:"period"` Amount float64 `json:"amount"` RepaymentDate time.Time `json:"repayment_date"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.