mirror of https://github.com/dtm-labs/dtm.git
csharpjavadistributed-transactionsdtmgogolangmicroservicenodejsphpdatabasesagaseatatcctransactiontransactionsxapythondistributed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
220 B
13 lines
220 B
package examples
|
|
|
|
import "github.com/yedf/dtm/common"
|
|
|
|
var e2p = common.E2P
|
|
|
|
type UserAccount struct {
|
|
common.ModelBase
|
|
UserId int
|
|
Balance string
|
|
}
|
|
|
|
func (u *UserAccount) TableName() string { return "user_account" }
|
|
|