init: hgmj server initial commit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:50:13 +08:00
co-authored by Claude Opus 4.7
commit 625e89c15d
1870 changed files with 254090 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package txnactmod
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
// EchgAccount 银行账户
type TransactionActRes struct {
ID primitive.ObjectID `json:"id" bson:"_id"`
ActName string `json:"actName" bson:"actName"` //账户姓名
Act string ` json:"act" bson:"act"` //账户号
BankCode string ` json:"bankCode" bson:"bankCode"` //银行代号
CardType string `json:"cardType" bson:"cardType"` //卡类型
}
// EchgAccount 银行账户
type TransactionActSelector struct {
ActName *string `json:"actName,omitempty" bson:"actName,omitempty"` //账户姓名
Act *string ` json:"act,omitempty" bson:"act,omitempty"` //账户号
BankCode *string ` json:"bankCode,omitempty" bson:"bankCode,omitempty"` //银行代号
CardType *string `json:"cardType,omitempty" bson:"cardType,omitempty"` //卡类型
UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt" swaggertype:"-"`
}