intial commit

This commit is contained in:
2026-05-25 11:45:56 +05:30
commit 6ab508560f
73 changed files with 23713 additions and 0 deletions

46
models/payments.go Normal file
View 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"`
}