intial commit
This commit is contained in:
46
models/payments.go
Normal file
46
models/payments.go
Normal file
@@ -0,0 +1,46 @@
|
||||
package models
|
||||
|
||||
type Paymentrequests struct {
|
||||
Requestid int `json:"requestid" gorm:"Primary_Key"`
|
||||
Partnerid int `json:"partnerid"`
|
||||
Requestdate string `json:"requestdate"`
|
||||
Referenceno string `json:"referenceno"`
|
||||
Apptypeid int `json:"apptypeid"`
|
||||
Requesttype int `json:"requestype"`
|
||||
Reason string `json:"reason"`
|
||||
Userid int `json:"userid"`
|
||||
Requestor string `json:"requestor"`
|
||||
Amount float32 `json:"amount"`
|
||||
Accountno string `json:"accountno"`
|
||||
Bankname string `json:"bankname"`
|
||||
Ifsccode string `json:"ifsccode"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
type RequestInfo struct {
|
||||
Requestid int `json:"requestid"`
|
||||
Requestdate string `json:"requestdate"`
|
||||
Referenceno string `json:"referenceno"`
|
||||
Apptypeid int `json:"apptypeid"`
|
||||
Requesttype int `json:"requestype"`
|
||||
Reason string `json:"reason"`
|
||||
Userid int `json:"userid"`
|
||||
Requestor string `json:"requestor"`
|
||||
Amount float32 `json:"amount"`
|
||||
Accountno string `json:"accountno"`
|
||||
Bankname string `json:"bankname"`
|
||||
Ifsccode string `json:"ifsccode"`
|
||||
Paymentref string `json:"paymentref"`
|
||||
Paymentdate string `json:"paymentdate"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
type Paymentdetails struct {
|
||||
Paymentdetailsid int `json:"Paymentdetailsid" gorm:"Primary_Key"`
|
||||
Requestid int `json:"requestid"`
|
||||
Userid int `json:"userid"`
|
||||
Paymentdate string `json:"paymentdate"`
|
||||
Referenceno string `json:"referenceno"`
|
||||
Amount float32 `json:"amount"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
Reference in New Issue
Block a user