互动
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.

93 lines
2.0 KiB

package models
import (
"fmt"
"github.com/ouxuanserver/osmanthuswine/src/core"
)
const TableNamePrefix = "ox_"
func init() {
err := core.GetXormAuto().Sync2(
new(Activity),
new(ActivityModuleService),
new(Annex),
new(AreaStore),
new(AuctionHistory),
new(AuctionResultRecord),
new(BaheTeam),
new(BaheTeamMember),
new(BarrageHistory),
new(BullyScreenHistory),
new(BullyScreenServer),
new(BullyScreenWalletHistory),
new(Customer),
new(CustomerGoods),
new(CustomerOperation),
new(CustomerOrder),
new(DanMuServer),
new(Invitation),
new(InvitationLetter),
new(LotteryDrawActivity),
new(LotteryDrawEnvelopeWallet),
new(LotteryDrawRecord),
new(LotteryDrawRule),
new(LotteryDrawRuleLadder),
new(LotteryDrawWalletHistory),
new(ModuleService),
new(ModuleServiceHistory),
new(ModuleStyle),
new(NewAuctionActivity),
new(NewVoteActivity),
new(NewVoteActivityHistory),
new(NewVoteActivityLadder),
new(Order),
new(OrderDrawActivity),
new(OrderDrawRecord),
new(OrderDrawRule),
new(OrderDrawRuleLadder),
new(OrderDrawStyle),
new(RewardHistory),
new(RewardServer),
new(RewardWallet),
new(RewardWalletHistory),
new(SeminarActivity),
new(SeminarInviteCode),
new(SeminarInvitePage),
new(SeminarRule),
new(SeminarStyle),
new(Sensitive),
new(ShakeRedEnvelopeActivity),
new(ShakeRedEnvelopeRecord),
new(ShakeRedEnvelopeRule),
new(ShakeRedEnvelopeRuleLadder),
new(SignHistory),
new(SignUp),
new(TugOfWar),
new(UpperWall),
new(User),
new(UserWalletHistory),
new(NewVoteActivity),
new(NewVoteActivityHistory),
new(OrderEntryPerson),
new(Rehearsal),
new(WeChatTicket),
new(MsgWallServer),
new(ShakeRedEnvelopeUser),
new(OrderGift),
new(UserPrize),
new(Calorie),
new(CalorieUser),
new(UserOrder),
new(UserRefund),
new(UserRedPack),
new(RealSignList),
new(RealSignHistory),
new(LiveViewer),
new(LiveConfig),
new(LiveRedPackInfo),
new(LiveRedPack),
)
fmt.Printf("error=======>%v\n\n", err)
}