Commit 426f2ae2 Harvey

job-executor

1 个父辈 82903c43
正在显示 456 个修改的文件 包含 0 行增加4772 行删除
FROM node:22-alpine
# RUN apk add --no-cache tzdata && \
# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && \
# apk del tzdata
ENV TZ="Asia/Shanghai"
RUN mkdir -p /app
WORKDIR /app
COPY ./ /app/tmp
RUN cp /app/tmp/package.json /app/package.json && \
npm install --production && \
cp -r /app/tmp/build /app/build && \
cp -r /app/tmp/config /app/config && \
rm -rf /app/tmp
CMD [ "node","build/index.js"]
\ No newline at end of file \ No newline at end of file
http://xxljob.ydniu.com/xxl-job-admin/
admin aolei@ydniu@Harvey
https://git.ydniu.cn/zhanghw/job-ydn-zq
git@git.ydniu.cn:zhanghw/job-ydn-zq.git
启动项目需看配置
1.config(里面有备注)
2.frp/frpc.toml
remotePort:注意代理服务器目前只开放 17001-17010端口(每个客户端启动建议使用不同的端口)
需要新增任务
请写在bl目录下和 job目录下 具体参考(/job/sxjx/index.ts)
\ No newline at end of file \ No newline at end of file
#!/bin/bash
# 使用说明
# 1. 同目录下新建 config.txt 以保存腾讯云容器镜像访问密码,本文件不要提交到 git
# 密码和腾讯云账号ID在 https://console.cloud.tencent.com/tke2/registry/user?rid=1
# 2. 修改以下三行参数
namespace='ydniu' #腾讯云镜像仓库命名空间
imageName='service-scoket' #镜像名称
dockerfilePash='./Dockerfile' #指定当前根目录下构建的Dockerfile文件 例如: ./Dockerfile
# 3. 执行构建推送镜像命令
# sh 文件名称.sh 例如: sh h5-graphiql.sh 版本号默认为 年月日时分秒
# sh 文件名称.sh 版本号 例如: sh h5-graphiql.sh v1 版本号例如: 20210902v1
# -----------------------------------------------
cloudId='line1'
passWord='line2'
version=`date '+%Y%m%d'` #镜像版本号, 默认当前年月日+ 参数
if [ ! -n "$1" ] ;then
version=`date '+%Y%m%d%H%M%S'`
else
version+=$1
fi
imageId=ccr.ccs.tencentyun.com/$namespace/$imageName:$version
echo "读取配置"
cat config.txt | while read line1 line2;
do
cloudId=$line1 #镜像仓库账号ID
passWord=$line2 #镜像仓库登陆密码
done
echo "1. 开始拉取最新代码!"
npm config set registry https://registry.npm.taobao.org
git pull
echo "2. 准备构建镜像..."
docker build -f $dockerfilePash --platform linux/amd64 -t $imageId .
echo "3. 构建成功!"
echo "4. 准备登录到云仓库..."
docker login --username=$cloudId --password=$passWord ccr.ccs.tencentyun.com
echo "5. 准备上传镜像到云仓库..."
docker push $imageId
echo "6. 上传成功!"
echo "7. 删除本地原有镜像..."
docker rmi $imageId
echo "8. 一切OK..."
exit;
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Admin', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: true
},
Password: {
type: DataTypes.STRING(100),
allowNull: true
},
Levels: {
type: DataTypes.INTEGER(11),
allowNull: true
},
LoginIP: {
type: DataTypes.STRING(10),
allowNull: true
},
LoginTime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'T_Admin'
});
};
//# sourceMappingURL=T_Admin.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_BasketBallArea', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: true
},
TypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Logo: {
type: DataTypes.STRING(200),
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
DateTime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'T_BasketBallArea'
});
};
//# sourceMappingURL=T_BasketBallArea.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_BasketBallMatchType', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
ParentId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
AreaId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FullName: {
type: DataTypes.STRING(50),
allowNull: true
},
ShoreName: {
type: DataTypes.STRING(50),
allowNull: true
},
Code: {
type: DataTypes.STRING(50),
allowNull: true
},
Color: {
type: DataTypes.STRING(10),
allowNull: true
},
Logo: {
type: DataTypes.STRING(200),
allowNull: true
},
Kind: {
type: DataTypes.INTEGER(11),
allowNull: true
},
RoundCount: {
type: DataTypes.INTEGER(11),
allowNull: true
},
RoundCurr: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GroupCount: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchSeason: {
type: DataTypes.STRING(50),
allowNull: true
},
MatchSeasons: {
type: DataTypes.STRING(500),
allowNull: true
},
IsEnd: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Rule: {
type: DataTypes.TEXT,
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'T_BasketBallMatchType'
});
};
//# sourceMappingURL=T_BasketBallMatchType.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Company', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
Type: {
type: DataTypes.INTEGER(6),
allowNull: false,
primaryKey: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: true
},
Group: {
type: DataTypes.STRING(10),
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'T_Company'
});
};
//# sourceMappingURL=T_Company.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Goal', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
IsHost: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Event: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Time: {
type: DataTypes.INTEGER(6),
allowNull: true
},
PlayerId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
PlayerName: {
type: DataTypes.STRING(30),
allowNull: true
}
}, {
tableName: 'T_Goal'
});
};
//# sourceMappingURL=T_Goal.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Match', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
MatchTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchSubId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchSeason: {
type: DataTypes.STRING(20),
allowNull: true
},
Round: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Group: {
type: DataTypes.STRING(10),
allowNull: true
},
Status: {
type: DataTypes.INTEGER(6),
allowNull: true
},
BeginTime: {
type: DataTypes.STRING(20),
allowNull: true
},
HostTeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
HostTeam: {
type: DataTypes.STRING(20),
allowNull: true
},
HostOrder: {
type: DataTypes.STRING(10),
allowNull: true
},
HostHalfScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
HostScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
HostRed: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GuestTeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GuestTeam: {
type: DataTypes.STRING(20),
allowNull: true
},
GuestOrder: {
type: DataTypes.STRING(10),
allowNull: true
},
GuestHalfScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GuestScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GuestRed: {
type: DataTypes.INTEGER(6),
allowNull: true
},
RqPlate: {
type: DataTypes.STRING(20),
allowNull: true
},
DxPlate: {
type: DataTypes.STRING(20),
allowNull: true
},
TvInfo: {
type: DataTypes.STRING(300),
allowNull: true
},
IsSale: {
type: DataTypes.INTEGER(1),
allowNull: true
}
}, {
tableName: 'T_Match'
});
};
//# sourceMappingURL=T_Match.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_MatchJson', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
UpdateFlag: {
type: DataTypes.BIGINT,
allowNull: true
},
LotteryId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
IssueName: {
type: DataTypes.STRING(20),
allowNull: true
},
MatchNumber: {
type: DataTypes.STRING(20),
allowNull: true
},
Type: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Json: {
type: DataTypes.TEXT,
allowNull: true
},
LastTime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'T_MatchJson'
});
};
//# sourceMappingURL=T_MatchJson.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_MatchType', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
ParentId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
StateId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FullName: {
type: DataTypes.STRING(20),
allowNull: true
},
ShortName: {
type: DataTypes.STRING(20),
allowNull: true
},
Color: {
type: DataTypes.STRING(10),
allowNull: true
},
Logo: {
type: DataTypes.STRING(100),
allowNull: true
},
Kind: {
type: DataTypes.INTEGER(6),
allowNull: true
},
RoundCount: {
type: DataTypes.INTEGER(6),
allowNull: true
},
RoundCurr: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GroupCount: {
type: DataTypes.INTEGER(6),
allowNull: true
},
MatchSeason: {
type: DataTypes.STRING(50),
allowNull: true
},
MatchSeasons: {
type: DataTypes.STRING(300),
allowNull: true
},
IsEnd: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Rule: {
type: DataTypes.TEXT,
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'T_MatchType'
});
};
//# sourceMappingURL=T_MatchType.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBACompany', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
Type: {
type: DataTypes.INTEGER(6),
allowNull: false,
primaryKey: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: true
},
Group: {
type: DataTypes.STRING(10),
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'T_NBACompany'
});
};
//# sourceMappingURL=T_NBACompany.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBALeagueRank', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
TeamId: {
type: DataTypes.INTEGER(11),
allowNull: false
},
Total: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Win: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Lose: {
type: DataTypes.INTEGER(6),
allowNull: true
},
WinPoint: {
type: DataTypes.DECIMAL,
allowNull: true
},
LosePoint: {
type: DataTypes.DECIMAL,
allowNull: true
},
WinDifference: {
type: DataTypes.INTEGER(6),
allowNull: true
},
WinAverage: {
type: DataTypes.DECIMAL,
allowNull: true
},
LostAverage: {
type: DataTypes.DECIMAL,
allowNull: true
},
LeagueWin: {
type: DataTypes.INTEGER(6),
allowNull: true
},
LeagueLost: {
type: DataTypes.INTEGER(6),
allowNull: true
},
DivisionWin: {
type: DataTypes.INTEGER(6),
allowNull: true
},
DivisionLose: {
type: DataTypes.INTEGER(6),
allowNull: true
},
HostWin: {
type: DataTypes.INTEGER(6),
allowNull: true
},
HostLose: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GuestWin: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GusetLost: {
type: DataTypes.INTEGER(6),
allowNull: true
},
TenWin: {
type: DataTypes.INTEGER(6),
allowNull: true
},
TenLost: {
type: DataTypes.INTEGER(6),
allowNull: true
},
State: {
type: DataTypes.STRING(20),
allowNull: true
},
Type: {
type: DataTypes.INTEGER(6),
allowNull: true
},
MatchTypeId: {
type: DataTypes.INTEGER(11),
allowNull: false
},
MatchSeason: {
type: DataTypes.STRING(20),
allowNull: false
},
tid: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_NBALeagueRank'
});
};
//# sourceMappingURL=T_NBALeagueRank.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAMatch', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
MatchTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchSubId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchSeason: {
type: DataTypes.STRING(20),
allowNull: true
},
Group: {
type: DataTypes.STRING(10),
allowNull: true
},
Status: {
type: DataTypes.INTEGER(6),
allowNull: true
},
BeginTime: {
type: DataTypes.STRING(20),
allowNull: true
},
HostTeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
HostTeam: {
type: DataTypes.STRING(20),
allowNull: true
},
HostOrder: {
type: DataTypes.STRING(10),
allowNull: true
},
HostHalfScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
HostScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GuestTeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GuestTeam: {
type: DataTypes.STRING(20),
allowNull: true
},
GuestOrder: {
type: DataTypes.STRING(10),
allowNull: true
},
GuestHalfScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
GuestScore: {
type: DataTypes.INTEGER(6),
allowNull: true
},
LetScore: {
type: DataTypes.STRING(20),
allowNull: true
},
TotalScore: {
type: DataTypes.STRING(20),
allowNull: true
},
Type: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Year: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Month: {
type: DataTypes.INTEGER(6),
allowNull: true
}
}, {
tableName: 'T_NBAMatch'
});
};
//# sourceMappingURL=T_NBAMatch.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAMatchType', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
ParentId: {
type: DataTypes.INTEGER(11),
allowNull: false
},
StateId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FullName: {
type: DataTypes.STRING(50),
allowNull: true
},
ShortName: {
type: DataTypes.STRING(50),
allowNull: true
},
Code: {
type: DataTypes.STRING(50),
allowNull: true
},
Color: {
type: DataTypes.STRING(10),
allowNull: true
},
Logo: {
type: DataTypes.STRING(200),
allowNull: true
},
Kind: {
type: DataTypes.INTEGER(11),
allowNull: true
},
RoundCount: {
type: DataTypes.INTEGER(11),
allowNull: true
},
RoundCurr: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GroupCount: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchSeason: {
type: DataTypes.STRING(50),
allowNull: true
},
MatchSeasons: {
type: DataTypes.STRING(500),
allowNull: true
},
IsEnd: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Rule: {
type: DataTypes.TEXT,
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GroupDetail: {
type: DataTypes.STRING(300),
allowNull: true
},
tid: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_NBAMatchType'
});
};
//# sourceMappingURL=T_NBAMatchType.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAOdds100', {
Id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true
},
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstHomeWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstGuestWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstHomeOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstGuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstStandoff: {
type: DataTypes.DECIMAL,
allowNull: true
},
HomeWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
GuestWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
HomeOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
GuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Standoff: {
type: DataTypes.DECIMAL,
allowNull: true
},
HomeKelly: {
type: DataTypes.DECIMAL,
allowNull: true
},
GuestKelly: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
}
}, {
tableName: 'T_NBAOdds100'
});
};
//# sourceMappingURL=T_NBAOdds100.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAOddsBigSmall', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstBigOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstPlate: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstSmallOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
BigOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Plate: {
type: DataTypes.DECIMAL,
allowNull: true
},
SmallOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
Id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true,
autoIncrement: true
},
IsDynamic: {
type: DataTypes.INTEGER(1),
allowNull: true
}
}, {
tableName: 'T_NBAOddsBigSmall'
});
};
//# sourceMappingURL=T_NBAOddsBigSmall.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAOddsLetGoal', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstPlate: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstHostOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstQuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Plate: {
type: DataTypes.DECIMAL,
allowNull: true
},
HostOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
QuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
IsDynamic: {
type: DataTypes.INTEGER(1),
allowNull: true
}
}, {
tableName: 'T_NBAOddsLetGoal'
});
};
//# sourceMappingURL=T_NBAOddsLetGoal.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAPlayer', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
TeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TeamName: {
type: DataTypes.STRING(30),
allowNull: true
},
NameS: {
type: DataTypes.STRING(30),
allowNull: true
},
NameJ: {
type: DataTypes.STRING(50),
allowNull: true
},
NameF: {
type: DataTypes.STRING(50),
allowNull: true
},
NameE: {
type: DataTypes.STRING(50),
allowNull: true
},
Country: {
type: DataTypes.STRING(50),
allowNull: true
},
Birthday: {
type: DataTypes.STRING(20),
allowNull: true
},
Height: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Weight: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Photo: {
type: DataTypes.STRING(100),
allowNull: true
},
Place: {
type: DataTypes.STRING(50),
allowNull: true
},
NBASeniority: {
type: DataTypes.INTEGER(6),
allowNull: true
},
AverageScore: {
type: DataTypes.BIGINT,
allowNull: true
},
AverageAssists: {
type: DataTypes.BIGINT,
allowNull: true
},
AverageRebounds: {
type: DataTypes.BIGINT,
allowNull: true
},
About: {
type: DataTypes.TEXT,
allowNull: true
},
tid: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_NBAPlayer'
});
};
//# sourceMappingURL=T_NBAPlayer.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAState', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: true
},
TypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Logo: {
type: DataTypes.STRING(200),
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
DateTime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'T_NBAState'
});
};
//# sourceMappingURL=T_NBAState.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBATeam', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
MatchTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Name: {
type: DataTypes.STRING(20),
allowNull: true
},
NameF: {
type: DataTypes.STRING(20),
allowNull: true
},
NameE: {
type: DataTypes.STRING(50),
allowNull: true
},
Logo: {
type: DataTypes.STRING(100),
allowNull: true
},
FoundDate: {
type: DataTypes.STRING(50),
allowNull: true
},
Area: {
type: DataTypes.STRING(30),
allowNull: true
},
Gym: {
type: DataTypes.STRING(30),
allowNull: true
},
Capacity: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TrainerId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Trainer: {
type: DataTypes.STRING(50),
allowNull: true
},
HostDress: {
type: DataTypes.STRING(100),
allowNull: true
},
GuestDress: {
type: DataTypes.STRING(100),
allowNull: true
},
WebSite: {
type: DataTypes.STRING(80),
allowNull: true
},
WinNO: {
type: DataTypes.INTEGER(6),
allowNull: true
},
About: {
type: DataTypes.TEXT,
allowNull: true
},
ShortName: {
type: DataTypes.STRING(20),
allowNull: true
}
}, {
tableName: 'T_NBATeam'
});
};
//# sourceMappingURL=T_NBATeam.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_NBAYearMonth', {
MatchTypeId: {
type: DataTypes.INTEGER(11),
allowNull: false
},
SeasonCurr: {
type: DataTypes.STRING(50),
allowNull: true
},
YearCurr: {
type: DataTypes.INTEGER(6),
allowNull: true
},
MonthCurr: {
type: DataTypes.INTEGER(6),
allowNull: true
},
YMList: {
type: DataTypes.STRING(300),
allowNull: true
},
Type: {
type: DataTypes.INTEGER(11),
allowNull: true
},
tid: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_NBAYearMonth'
});
};
//# sourceMappingURL=T_NBAYearMonth.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Odds100', {
Id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true
},
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstHomeWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstStandoff: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstGuestWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
HomeWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
Standoff: {
type: DataTypes.DECIMAL,
allowNull: true
},
GuestWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
}
}, {
tableName: 'T_Odds100'
});
};
//# sourceMappingURL=T_Odds100.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_OddsBigSmall', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstBigOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstPlate: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstSmallOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
BigOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Plate: {
type: DataTypes.DECIMAL,
allowNull: true
},
SmallOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_OddsBigSmall'
});
};
//# sourceMappingURL=T_OddsBigSmall.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_OddsHalfBigSmall', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstBigOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstPlate: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstSmallOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
BigOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Plate: {
type: DataTypes.DECIMAL,
allowNull: true
},
SmallOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_OddsHalfBigSmall'
});
};
//# sourceMappingURL=T_OddsHalfBigSmall.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_OddsHalfLetGoal', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstPlate: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstHostOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstQuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Plate: {
type: DataTypes.DECIMAL,
allowNull: true
},
HostOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
QuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_OddsHalfLetGoal'
});
};
//# sourceMappingURL=T_OddsHalfLetGoal.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_OddsLetGoal', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstPlate: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstHostOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstQuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
Plate: {
type: DataTypes.DECIMAL,
allowNull: true
},
HostOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
QuestOdds: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
IsClose: {
type: DataTypes.INTEGER(1),
allowNull: true
},
IsDynamic: {
type: DataTypes.INTEGER(1),
allowNull: true
}
}, {
tableName: 'T_OddsLetGoal'
});
};
//# sourceMappingURL=T_OddsLetGoal.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_OddsStandard', {
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
CompanyId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
FirstHomeWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstStandoff: {
type: DataTypes.DECIMAL,
allowNull: true
},
FirstGuestWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
HomeWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
Standoff: {
type: DataTypes.DECIMAL,
allowNull: true
},
GuestWin: {
type: DataTypes.DECIMAL,
allowNull: true
},
UpdateTime: {
type: DataTypes.STRING(20),
allowNull: true
},
Details: {
type: DataTypes.TEXT,
allowNull: true
},
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_OddsStandard'
});
};
//# sourceMappingURL=T_OddsStandard.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Player', {
Id: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true
},
Kind: {
type: DataTypes.INTEGER,
allowNull: true
},
NameS: {
type: DataTypes.STRING,
allowNull: true
},
NameJ: {
type: DataTypes.STRING,
allowNull: true
},
NameF: {
type: DataTypes.STRING,
allowNull: true
},
NameE: {
type: DataTypes.STRING,
allowNull: true
},
Country: {
type: DataTypes.STRING,
allowNull: true
},
Birthday: {
type: DataTypes.STRING,
allowNull: true
},
Height: {
type: DataTypes.INTEGER,
allowNull: true
},
Weight: {
type: DataTypes.INTEGER,
allowNull: true
},
Photo: {
type: DataTypes.STRING,
allowNull: true
},
PriorTeams: {
type: DataTypes.STRING,
allowNull: true
},
About: {
type: DataTypes.TEXT,
allowNull: true
}
}, {
tableName: 'T_Player'
});
};
//# sourceMappingURL=T_Player.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_PlayerInTeam', {
PlayerId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
PlayerName: {
type: DataTypes.STRING(30),
allowNull: true
},
TeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TeamName: {
type: DataTypes.STRING(30),
allowNull: true
},
Place: {
type: DataTypes.STRING(10),
allowNull: true
},
Number: {
type: DataTypes.STRING(3),
allowNull: true
},
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_PlayerInTeam'
});
};
//# sourceMappingURL=T_PlayerInTeam.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_State', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
Name: {
type: DataTypes.STRING(20),
allowNull: true
},
TypeId: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Logo: {
type: DataTypes.STRING(100),
allowNull: true
},
OrderId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
DateTime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'T_State'
});
};
//# sourceMappingURL=T_State.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_Team', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
MatchTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Name: {
type: DataTypes.STRING(20),
allowNull: true
},
NameF: {
type: DataTypes.STRING(20),
allowNull: true
},
NameE: {
type: DataTypes.STRING(50),
allowNull: true
},
Logo: {
type: DataTypes.STRING(100),
allowNull: true
},
FoundDate: {
type: DataTypes.STRING(50),
allowNull: true
},
Area: {
type: DataTypes.STRING(30),
allowNull: true
},
HomeArena: {
type: DataTypes.STRING(30),
allowNull: true
},
Capacity: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TrainerId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Trainer: {
type: DataTypes.STRING(50),
allowNull: true
},
HostDress: {
type: DataTypes.STRING(100),
allowNull: true
},
GuestDress: {
type: DataTypes.STRING(100),
allowNull: true
},
WebSite: {
type: DataTypes.STRING(80),
allowNull: true
},
About: {
type: DataTypes.TEXT,
allowNull: true
},
EnWiki: {
type: DataTypes.STRING(500),
allowNull: true
},
CnWiki: {
type: DataTypes.STRING(500),
allowNull: true
},
WikiLogo: {
type: DataTypes.STRING(500),
allowNull: true
},
SportsDtLogo: {
type: DataTypes.STRING(500),
allowNull: true
}
}, {
tableName: 'T_Team'
});
};
//# sourceMappingURL=T_Team.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('T_WordRank', {
Location: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Sex: {
type: DataTypes.INTEGER(6),
allowNull: true
},
Month: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TeamId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TeamName: {
type: DataTypes.STRING(30),
allowNull: true
},
Rank: {
type: DataTypes.INTEGER(11),
allowNull: true
},
RankUp: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Score: {
type: DataTypes.INTEGER(11),
allowNull: true
},
ScoreUp: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
}
}, {
tableName: 'T_WordRank'
});
};
//# sourceMappingURL=T_WordRank.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('chart_issue', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
LotId: {
type: DataTypes.INTEGER(11),
allowNull: false
},
Issue: {
type: DataTypes.STRING(50),
allowNull: false
},
Number: {
type: DataTypes.STRING(100),
allowNull: false
},
InitTime: {
type: DataTypes.STRING(20),
allowNull: true
}
}, {
tableName: 'chart_issue'
});
};
//# sourceMappingURL=chart_issue.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('chart_lottery', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
UpdateFlag: {
type: DataTypes.BIGINT,
allowNull: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: false
},
Code: {
type: DataTypes.STRING(25),
allowNull: false
},
TypeId: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: '0'
},
DayOpenNo: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
OpenRegex: {
type: DataTypes.STRING(100),
allowNull: false
},
IssueRegex: {
type: DataTypes.STRING(100),
allowNull: true
},
AppCenterId: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: '1'
}
}, {
tableName: 'chart_lottery'
});
};
//# sourceMappingURL=chart_lottery.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_issue', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
LotteryId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Name: {
type: DataTypes.STRING(20),
allowNull: true
},
StartTime: {
type: DataTypes.DATE,
allowNull: true
},
EndTime: {
type: DataTypes.DATE,
allowNull: true
},
OpenStatus: {
type: DataTypes.INTEGER(11),
allowNull: true
},
OpenNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
OpenOperatorId: {
type: DataTypes.BIGINT,
allowNull: true
},
OpenTime: {
type: DataTypes.DATE,
allowNull: true
},
TestNumber: {
type: DataTypes.STRING(10),
allowNull: true
},
SumSales: {
type: DataTypes.INTEGER(11),
allowNull: true
},
PrizePool: {
type: DataTypes.BIGINT,
allowNull: true
},
T_WinType: {
type: DataTypes.STRING(2000),
allowNull: true
},
VideoTag: {
type: DataTypes.STRING(200),
allowNull: true
},
VideoTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
DrawId: {
type: DataTypes.STRING(1000),
allowNull: true
},
Content: {
type: DataTypes.STRING(1000),
allowNull: true
},
InnerFirstNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
InnerTestNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
KingNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
AttentionNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
EchoNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
}, {
tableName: 'core_issue'
});
};
//# sourceMappingURL=core_issue.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_issue_sub', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
LotteryId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Name: {
type: DataTypes.STRING(20),
allowNull: true
},
SubType: {
type: DataTypes.STRING(20),
allowNull: true
},
StartTime: {
type: DataTypes.DATE,
allowNull: true
},
EndTime: {
type: DataTypes.DATE,
allowNull: true
},
OpenStatus: {
type: DataTypes.INTEGER(11),
allowNull: true
},
OpenNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
OpenOperatorId: {
type: DataTypes.BIGINT,
allowNull: true
},
OpenTime: {
type: DataTypes.DATE,
allowNull: true
},
TestNumber: {
type: DataTypes.STRING(10),
allowNull: true
},
FirstNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
SumSales: {
type: DataTypes.INTEGER(11),
allowNull: true
},
PrizePool: {
type: DataTypes.BIGINT,
allowNull: true
},
T_WinType: {
type: DataTypes.TEXT,
allowNull: true
},
VideoTag: {
type: DataTypes.STRING(200),
allowNull: true
},
VideoTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
DrawId: {
type: DataTypes.STRING(1000),
allowNull: true
},
VideoLinked: {
type: DataTypes.STRING(2000),
allowNull: true
},
GrabTime: {
type: DataTypes.DATE,
allowNull: true
}
}, {
tableName: 'core_issue_sub'
});
};
//# sourceMappingURL=core_issue_sub.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_issue', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
LotteryId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Name: {
type: DataTypes.STRING(20),
allowNull: true
},
StartTime: {
type: DataTypes.DATE,
allowNull: true
},
EndTime: {
type: DataTypes.DATE,
allowNull: true
},
OpenStatus: {
type: DataTypes.INTEGER(11),
allowNull: true
},
OpenNumber: {
type: DataTypes.STRING(100),
allowNull: true
},
OpenOperatorId: {
type: DataTypes.BIGINT,
allowNull: true
},
OpenTime: {
type: DataTypes.DATE,
allowNull: true
},
TestNumber: {
type: DataTypes.STRING(10),
allowNull: true
},
SumSales: {
type: DataTypes.INTEGER(11),
allowNull: true
},
PrizePool: {
type: DataTypes.BIGINT,
allowNull: true
},
T_WinType: {
type: DataTypes.STRING(2000),
allowNull: true
},
VideoTag: {
type: DataTypes.STRING(200),
allowNull: true
},
VideoTypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
DrawId: {
type: DataTypes.STRING(1000),
allowNull: true
}
}, {
tableName: 'core_issue_temp'
});
};
//# sourceMappingURL=core_issue_temp.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_lottery', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
Name: {
type: DataTypes.STRING(50),
allowNull: true
},
Code: {
type: DataTypes.STRING(25),
allowNull: true
},
TypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MaxBetTimes: {
type: DataTypes.INTEGER(11),
allowNull: true
},
T_PrintType: {
type: DataTypes.TEXT,
allowNull: true
},
AheadEndSeconds: {
type: DataTypes.INTEGER(11),
allowNull: true
},
AboutOpenSeconds: {
type: DataTypes.INTEGER(11),
allowNull: true
},
OpenFrequency: {
type: DataTypes.STRING(50),
allowNull: true
},
OpenExample: {
type: DataTypes.STRING(50),
allowNull: true
},
T_IssueSyncSource: {
type: DataTypes.STRING(200),
allowNull: true
},
InSale: {
type: DataTypes.INTEGER(1),
allowNull: true
},
Enable: {
type: DataTypes.INTEGER(1),
allowNull: true
},
LimitNumbers: {
type: DataTypes.STRING(1000),
allowNull: true
},
StopSellIssueName: {
type: DataTypes.STRING(50),
allowNull: true
},
StopSellChaseTip: {
type: DataTypes.STRING(100),
allowNull: true
},
IsChaseOnStop: {
type: DataTypes.INTEGER(1),
allowNull: true
}
}, {
tableName: 'core_lottery'
});
};
//# sourceMappingURL=core_lottery.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_match', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
LotteryId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
IssueId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
IssueName: {
type: DataTypes.STRING(20),
allowNull: true
},
BdGameType: {
type: DataTypes.STRING(20),
allowNull: true
},
BdGameTypeColor: {
type: DataTypes.STRING(20),
allowNull: true
},
GameName: {
type: DataTypes.STRING(50),
allowNull: true
},
GameColor: {
type: DataTypes.STRING(20),
allowNull: true
},
BdMatchDay: {
type: DataTypes.STRING(50),
allowNull: true
},
MatchNumber: {
type: DataTypes.STRING(50),
allowNull: true
},
MatchRound: {
type: DataTypes.STRING(10),
allowNull: true
},
MatchTime: {
type: DataTypes.DATE,
allowNull: true
},
StopSellTime: {
type: DataTypes.DATE,
allowNull: true
},
PrintEndTime: {
type: DataTypes.DATE,
allowNull: true
},
InfoId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
HostId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
HostName: {
type: DataTypes.STRING(20),
allowNull: true
},
HostRank: {
type: DataTypes.STRING(10),
allowNull: true
},
HostRed: {
type: DataTypes.INTEGER(11),
allowNull: true
},
HostYellow: {
type: DataTypes.INTEGER(11),
allowNull: true
},
LetScore: {
type: DataTypes.STRING(10),
allowNull: true
},
PreTotalScore: {
type: DataTypes.DECIMAL,
allowNull: true
},
GuestId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GuestName: {
type: DataTypes.STRING(20),
allowNull: true
},
GuestRank: {
type: DataTypes.STRING(10),
allowNull: true
},
GuestRed: {
type: DataTypes.INTEGER(11),
allowNull: true
},
GuestYellow: {
type: DataTypes.INTEGER(11),
allowNull: true
},
MatchState: {
type: DataTypes.STRING(100),
allowNull: true
},
ResultState: {
type: DataTypes.INTEGER(11),
allowNull: true
},
Results: {
type: DataTypes.STRING(1000),
allowNull: true
},
BetSps: {
type: DataTypes.STRING(500),
allowNull: true
},
Commends: {
type: DataTypes.STRING(500),
allowNull: true
},
AvgOdds: {
type: DataTypes.STRING(50),
allowNull: true
},
GgStopPlayIds: {
type: DataTypes.STRING(50),
allowNull: true
},
DgStopPlayIds: {
type: DataTypes.STRING(50),
allowNull: true
},
IsAutoUpdate: {
type: DataTypes.INTEGER(1),
allowNull: true
},
BcBf: {
type: DataTypes.STRING(500),
allowNull: true
},
QcBf: {
type: DataTypes.STRING(50),
allowNull: true
},
ResultSps: {
type: DataTypes.STRING(50),
allowNull: true
},
OkoooId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
BetradarId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
IsTextLive: {
type: DataTypes.INTEGER(1),
allowNull: true
},
PlayerData: {
type: DataTypes.TEXT,
allowNull: true
},
TimeData: {
type: DataTypes.TEXT,
allowNull: true
},
LiveData: {
type: DataTypes.TEXT,
allowNull: true
},
TechnicalStatistics: {
type: DataTypes.TEXT,
allowNull: true
},
Stoppage: {
type: DataTypes.TEXT,
allowNull: true
},
Weather: {
type: DataTypes.STRING(50),
allowNull: true
},
Temperature: {
type: DataTypes.STRING(10),
allowNull: true
},
SportsInfo: {
type: DataTypes.TEXT,
allowNull: true
},
SportsLive: {
type: DataTypes.TEXT,
allowNull: true
},
SportsLineup: {
type: DataTypes.TEXT,
allowNull: true
},
SportsStatistics: {
type: DataTypes.TEXT,
allowNull: true
},
SportsInjury: {
type: DataTypes.STRING(1000),
allowNull: true
},
SportteryMatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
JcInfo: {
type: DataTypes.TEXT,
allowNull: true
},
DfcpImgUrl: {
type: DataTypes.STRING(200),
allowNull: true
},
VideoUrl: {
type: DataTypes.STRING(2000),
allowNull: true
},
CreatedAt: {
type: DataTypes.DATE,
allowNull: true
},
UpdatedAt: {
type: DataTypes.DATE,
allowNull: true
},
InfoState: {
type: DataTypes.INTEGER(1),
allowNull: true
},
WinLoseRate: {
type: DataTypes.JSON,
allowNull: true
},
WinLoseCount: {
type: DataTypes.JSON,
allowNull: true
},
RangQiuWinLoseRate: {
type: DataTypes.JSON,
allowNull: true
},
RangQiuWinLoseCount: {
type: DataTypes.JSON,
allowNull: true
},
LeisuId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
is_hot: {
type: DataTypes.INTEGER(11),
allowNull: true
},
}, {
tableName: 'core_match'
});
};
//# sourceMappingURL=core_match.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_news', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
UpdateTime: {
type: DataTypes.DATE,
allowNull: true
},
TypeId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
TypeCode: {
type: DataTypes.STRING(50),
allowNull: true
},
TypeName: {
type: DataTypes.STRING(50),
allowNull: true
},
LotId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
LotCode: {
type: DataTypes.STRING(50),
allowNull: true
},
LotName: {
type: DataTypes.STRING(50),
allowNull: true
},
Title: {
type: DataTypes.STRING(60),
allowNull: true
},
ShortTitle: {
type: DataTypes.STRING(50),
allowNull: true
},
Keywords: {
type: DataTypes.STRING(100),
allowNull: true
},
Description: {
type: DataTypes.STRING(250),
allowNull: true
},
Contents: {
type: DataTypes.TEXT,
allowNull: true
},
Source: {
type: DataTypes.STRING(50),
allowNull: true
},
ReadCount: {
type: DataTypes.INTEGER(11),
allowNull: true
},
AotherId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
AotherName: {
type: DataTypes.STRING(50),
allowNull: true
},
IsImage: {
type: DataTypes.INTEGER(1),
allowNull: true
},
ImageUrl: {
type: DataTypes.STRING(500),
allowNull: true
},
SiteImageUrl: {
type: DataTypes.STRING(500),
allowNull: true
},
IsCommand: {
type: DataTypes.INTEGER(1),
allowNull: true
},
IsHot: {
type: DataTypes.INTEGER(1),
allowNull: true
},
IsShow: {
type: DataTypes.INTEGER(1),
allowNull: true
},
IsIndex: {
type: DataTypes.INTEGER(1),
allowNull: true
},
IsInfoIndex: {
type: DataTypes.INTEGER(1),
allowNull: true
},
MatchId: {
type: DataTypes.INTEGER(11),
allowNull: true
},
IsAndriod: {
type: DataTypes.INTEGER(1),
allowNull: true
},
IsIos: {
type: DataTypes.INTEGER(1),
allowNull: true
},
Tag: {
type: DataTypes.STRING(100),
allowNull: true
},
NewsType: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'core_news'
});
};
//# sourceMappingURL=core_news.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('core_news_comment', {
id: {
type: DataTypes.STRING(50),
allowNull: false,
primaryKey: true
},
news_id: {
type: DataTypes.STRING(50),
allowNull: true
},
user_nick_name: {
type: DataTypes.STRING(50),
allowNull: true
},
content: {
type: DataTypes.STRING(2000),
allowNull: true
},
content_type: {
type: DataTypes.INTEGER(11),
allowNull: true
},
is_anonymous: {
type: DataTypes.INTEGER(11),
allowNull: true
},
user_code: {
type: DataTypes.STRING(50),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
updated_at: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: '0000-00-00 00:00:00'
}
}, {
tableName: 'core_news_comment'
});
};
//# sourceMappingURL=core_news_comment.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('cps_expert', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
user_id: {
type: DataTypes.BIGINT,
allowNull: true,
unique: true
},
user_platform: {
type: DataTypes.STRING(20),
allowNull: true
},
promoter_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
user_name: {
type: DataTypes.STRING(50),
allowNull: true
},
mobile: {
type: DataTypes.STRING(50),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
},
operate_time: {
type: DataTypes.DATE,
allowNull: true
},
operate_user_id: {
type: DataTypes.BIGINT,
allowNull: true
},
status: {
type: DataTypes.INTEGER(11),
allowNull: true
},
real_name: {
type: DataTypes.STRING(50),
allowNull: true
},
id_card: {
type: DataTypes.STRING(50),
allowNull: true
},
id_card_url_1: {
type: DataTypes.STRING(300),
allowNull: true
},
id_card_url_2: {
type: DataTypes.STRING(300),
allowNull: true
},
memo: {
type: DataTypes.STRING(500),
allowNull: true
},
user_type: {
type: DataTypes.STRING(10),
allowNull: true
},
money_rate: {
type: DataTypes.DECIMAL,
allowNull: true
},
operate_result: {
type: DataTypes.STRING(300),
allowNull: true
},
user_info_url: {
type: DataTypes.STRING(2000),
allowNull: true
},
cps_code: {
type: DataTypes.STRING(20),
allowNull: true
},
gender: {
type: DataTypes.STRING(10),
allowNull: true
},
}, {
tableName: 'cps_expert'
});
};
//# sourceMappingURL=cps_expert.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('cps_user', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
user_id: {
type: DataTypes.BIGINT,
allowNull: true,
unique: true
},
user_platform: {
type: DataTypes.STRING(20),
allowNull: true
},
promoter_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
user_name: {
type: DataTypes.STRING(50),
allowNull: true
},
mobile: {
type: DataTypes.STRING(50),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
},
operate_time: {
type: DataTypes.DATE,
allowNull: true
},
operate_user_id: {
type: DataTypes.BIGINT,
allowNull: true
},
status: {
type: DataTypes.INTEGER(11),
allowNull: true
},
real_name: {
type: DataTypes.STRING(50),
allowNull: true
},
id_card: {
type: DataTypes.STRING(50),
allowNull: true
},
id_card_url_1: {
type: DataTypes.STRING(300),
allowNull: true
},
id_card_url_2: {
type: DataTypes.STRING(300),
allowNull: true
},
memo: {
type: DataTypes.STRING(500),
allowNull: true
},
user_type: {
type: DataTypes.STRING(10),
allowNull: true
},
money_rate: {
type: DataTypes.DECIMAL,
allowNull: true
},
operate_result: {
type: DataTypes.STRING(300),
allowNull: true
},
user_info_url: {
type: DataTypes.STRING(2000),
allowNull: true
},
cps_code: {
type: DataTypes.STRING(20),
allowNull: true
},
}, {
tableName: 'cps_user'
});
};
//# sourceMappingURL=cps_user.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('eshop_recommend_template', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
title: {
type: DataTypes.STRING(255),
allowNull: false
},
user_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
lottery_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
play_name: {
type: DataTypes.STRING(50),
allowNull: false
},
last_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
},
updated_at: {
type: DataTypes.DATE,
allowNull: true,
},
deleted_at: {
type: DataTypes.DATE,
allowNull: true,
}
}, {
tableName: 'eshop_recommend_template'
});
};
//# sourceMappingURL=eshop_recommend_template.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('eshop_recommend_template_list', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
template_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
user_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
body: {
type: DataTypes.JSON,
allowNull: false
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
},
updated_at: {
type: DataTypes.DATE,
allowNull: true,
},
deleted_at: {
type: DataTypes.DATE,
allowNull: true,
},
status: {
type: DataTypes.INTEGER(1),
allowNull: true,
default: 0
},
opened_at: {
type: DataTypes.DATE,
allowNull: true,
}
}, {
tableName: 'eshop_recommend_template_list'
});
};
//# sourceMappingURL=eshop_recommend_template_list.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('lottery_shop_info', {
id: {
autoIncrement: true,
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
name: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '彩店名称'
},
type: {
type: DataTypes.INTEGER(2),
allowNull: true,
comment: '彩店类别1.体彩2.福彩3.体彩福彩'
},
area: {
type: DataTypes.STRING(255),
allowNull: true,
comment: '彩店区域'
},
addr: {
type: DataTypes.STRING(255),
allowNull: true,
comment: '彩店详细地址'
},
sell_card_number: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '代销证编号'
},
id_card_url: {
type: DataTypes.STRING(500),
allowNull: true,
comment: '身份证url地址'
},
sell_card_url: {
type: DataTypes.STRING(500),
allowNull: true,
comment: '代销证url地址'
},
qrcode_url: {
type: DataTypes.STRING(500),
allowNull: true,
comment: '店铺二维码url地址'
},
photo_url: {
type: DataTypes.STRING(500),
allowNull: true,
comment: '店铺照片'
},
status: {
type: DataTypes.INTEGER(2).UNSIGNED,
allowNull: false,
defaultValue: 0,
comment: '状态0:未审核,1:已审核通过,2:已审核未通过'
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
updated_at: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
poster_enable_name: {
type: DataTypes.INTEGER(1),
allowNull: true,
defaultValue: 0,
comment: '海报启用店名'
},
poster_enable_qrcode: {
type: DataTypes.INTEGER(1),
allowNull: true,
defaultValue: 0,
comment: '海报启用二维码'
},
user_id: {
type: DataTypes.INTEGER(11),
allowNull: true,
comment: '用户id'
},
user_name: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '用户id'
},
user_platform: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '用户所属平台'
},
user_real_name: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '用户真实姓名'
},
user_mobile: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '用户手机号'
},
user_brief: {
type: DataTypes.STRING(255),
allowNull: true,
comment: '店主自我简介'
}
}, {
sequelize,
tableName: 'lottery_shop_info'
});
};
//# sourceMappingURL=lottery_shop_info.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('lottery_shop_relation', {
id: {
autoIncrement: true,
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
shop_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
user_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
updated_at: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
sequelize,
tableName: 'lottery_shop_relation'
});
};
//# sourceMappingURL=lottery_shop_relation.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('lottery_store_module', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
module_name: {
type: DataTypes.STRING(100),
allowNull: true
},
module_status: {
type: DataTypes.INTEGER(1),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: false,
},
updated_at: {
type: DataTypes.DATE,
allowNull: false,
}
}, {
tableName: 'lottery_store_module'
});
};
//# sourceMappingURL=lottery_store_module.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('lottery_store_sub_module', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
module_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sub_name: {
type: DataTypes.STRING(100),
allowNull: true
},
sub_status: {
type: DataTypes.INTEGER(1),
allowNull: true
},
parent_id: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: 0
},
created_at: {
type: DataTypes.DATE,
allowNull: false,
},
updated_at: {
type: DataTypes.DATE,
allowNull: false,
}
}, {
tableName: 'lottery_store_sub_module'
});
};
//# sourceMappingURL=lottery_store_sub_module.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('lottery_store_template', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
title: {
type: DataTypes.STRING(255),
allowNull: true
},
content: {
type: DataTypes.TEXT,
allowNull: true
},
url: {
type: DataTypes.STRING(500),
allowNull: true
},
publish_time: {
type: DataTypes.STRING(20),
allowNull: true,
},
frequency: {
type: DataTypes.INTEGER(2),
allowNull: true
},
main_image_url: {
type: DataTypes.STRING(500),
allowNull: true
},
template_status: {
type: DataTypes.INTEGER(1),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
},
updated_at: {
type: DataTypes.DATE,
allowNull: true,
},
deleted_at: {
type: DataTypes.DATE,
allowNull: true,
},
module_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sub_module_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
is_top: {
type: DataTypes.INTEGER(1),
allowNull: true
},
shopkeeper_qr_code: {
type: DataTypes.STRING(500),
allowNull: true
},
shopkeeper_image: {
type: DataTypes.STRING(500),
allowNull: true
},
ejs_body: {
type: DataTypes.TEXT,
allowNull: true
},
ejs_config: {
type: DataTypes.JSON,
allowNull: true
},
lotteryids: {
type: DataTypes.JSON,
allowNull: true,
comment: '彩种id数组'
},
sub_module_ids: {
type: DataTypes.JSON,
allowNull: true
},
sub_module_parent_ids: {
type: DataTypes.JSON,
allowNull: true
},
enable: {
type: DataTypes.INTEGER(1),
allowNull: true,
comment: '是否启用模版'
},
bobao: {
type: DataTypes.INTEGER(1),
allowNull: true,
comment: '是否启用播报'
},
func_name: {
type: DataTypes.STRING(50),
allowNull: true,
comment: '海报数据源函数'
},
top_sort: {
type: DataTypes.INTEGER(8),
allowNull: true
},
posters_key: {
type: DataTypes.STRING(255),
allowNull: true,
comment: '足球生成海报key'
}
}, {
tableName: 'lottery_store_template'
});
};
//# sourceMappingURL=lottery_store_template.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('lottery_store_template_collect', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
},
user_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
template_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
}, {
tableName: 'lottery_store_template_collect'
});
};
//# sourceMappingURL=lottery_store_template_collect.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('match', {
match_time: {
type: DataTypes.STRING(50),
allowNull: true
},
core_id: {
type: DataTypes.BIGINT,
allowNull: true
},
core_updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
info_id: {
type: DataTypes.BIGINT,
allowNull: true
},
info_updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
sportsdt_id: {
type: DataTypes.BIGINT,
allowNull: true
},
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
createdAt: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
updatedAt: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
valid_game: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sportsdt_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
competition_name: {
type: DataTypes.STRING(50),
allowNull: true
},
competition_short_name: {
type: DataTypes.STRING(50),
allowNull: true
},
competition_color: {
type: DataTypes.STRING(50),
allowNull: true
},
sportsdt_host_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
host_name: {
type: DataTypes.STRING(50),
allowNull: true
},
host_short_name: {
type: DataTypes.STRING(50),
allowNull: true
},
host_rank: {
type: DataTypes.STRING(50),
allowNull: true
},
host_photo: {
type: DataTypes.STRING(500),
allowNull: true
},
sportsdt_away_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
away_name: {
type: DataTypes.STRING(50),
allowNull: true
},
away_short_name: {
type: DataTypes.STRING(50),
allowNull: true
},
away_rank: {
type: DataTypes.STRING(50),
allowNull: true
},
away_photo: {
type: DataTypes.STRING(500),
allowNull: true
},
n: {
type: DataTypes.INTEGER(11),
allowNull: true
},
status: {
type: DataTypes.INTEGER(11),
allowNull: true
},
score: {
type: DataTypes.STRING(50),
allowNull: true
},
red_card: {
type: DataTypes.STRING(50),
allowNull: true
},
yellow_card: {
type: DataTypes.STRING(50),
allowNull: true
},
note: {
type: DataTypes.STRING(500),
allowNull: true
},
score_all: {
type: DataTypes.STRING(50),
allowNull: true
},
score_point: {
type: DataTypes.STRING(50),
allowNull: true
},
half: {
type: DataTypes.STRING(50),
allowNull: true
},
handicap: {
type: DataTypes.STRING(50),
allowNull: true
},
channel: {
type: DataTypes.STRING(500),
allowNull: true
},
weather: {
type: DataTypes.STRING(50),
allowNull: true
},
stadium: {
type: DataTypes.STRING(500),
allowNull: true
},
local_time: {
type: DataTypes.STRING(50),
allowNull: true
},
referee: {
type: DataTypes.STRING(50),
allowNull: true
},
spectator: {
type: DataTypes.STRING(50),
allowNull: true
},
core_body: {
type: DataTypes.JSON,
allowNull: true
},
info_body: {
type: DataTypes.JSON,
allowNull: true
},
sportsdt_body: {
type: DataTypes.JSON,
allowNull: true
}
}, {
tableName: 'match'
});
};
//# sourceMappingURL=match.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('match_inputs', {
id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true
},
infoid: {
type: DataTypes.BIGINT,
allowNull: true
},
updateflag: {
type: DataTypes.BIGINT,
allowNull: true
},
gamename: {
type: DataTypes.STRING(255),
allowNull: true
},
matchstate: {
type: DataTypes.STRING(255),
allowNull: true
},
matchtime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
matchnumber: {
type: DataTypes.STRING(255),
allowNull: true
},
lotteryid: {
type: DataTypes.INTEGER(11),
allowNull: true
},
issueid: {
type: DataTypes.INTEGER(11),
allowNull: true
},
issuename: {
type: DataTypes.STRING(255),
allowNull: true
},
hostid: {
type: DataTypes.INTEGER(11),
allowNull: true
},
hostname: {
type: DataTypes.STRING(255),
allowNull: true
},
guestid: {
type: DataTypes.INTEGER(11),
allowNull: true
},
guestname: {
type: DataTypes.STRING(255),
allowNull: true
},
body: {
type: DataTypes.JSON,
allowNull: true
},
createdAt: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
updatedAt: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
},
content: {
type: DataTypes.JSON,
allowNull: true
},
letscore: {
type: DataTypes.STRING(255),
allowNull: true
},
bcbf: {
type: DataTypes.STRING(255),
allowNull: true
},
qcbf: {
type: DataTypes.STRING(255),
allowNull: true
},
sportsinfo: {
type: DataTypes.JSON,
allowNull: true
},
sportslive: {
type: DataTypes.JSON,
allowNull: true
},
sportslineup: {
type: DataTypes.JSON,
allowNull: true
},
sportsinjury: {
type: DataTypes.JSON,
allowNull: true
},
dfcpimgurl: {
type: DataTypes.STRING(255),
allowNull: true
},
jcinfo: {
type: DataTypes.JSON,
allowNull: true
},
livedata_status: {
type: DataTypes.JSON,
allowNull: true
},
livedata: {
type: DataTypes.JSON,
allowNull: true
}
}, {
tableName: 'match_inputs'
});
};
//# sourceMappingURL=match_inputs.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('message_push', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
app_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
msg_type: {
type: DataTypes.INTEGER(4),
allowNull: false
},
user_type: {
type: DataTypes.INTEGER(4),
allowNull: false
},
user_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
title: {
type: DataTypes.STRING(255),
allowNull: false
},
text: {
type: DataTypes.STRING(255),
allowNull: false
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
send_at: {
type: DataTypes.DATE,
allowNull: true
},
pre_at: {
type: DataTypes.DATE,
allowNull: true
},
del_at: {
type: DataTypes.DATE,
allowNull: true
},
url: {
type: DataTypes.STRING(255),
allowNull: true
},
umeng_id: {
type: DataTypes.STRING(50),
allowNull: true
}
}, {
tableName: 'message_push'
});
};
//# sourceMappingURL=message_push.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_admin_menu', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
created_at: {
type: DataTypes.DATE,
allowNull: false
},
updated_at: {
type: DataTypes.DATE,
allowNull: false
},
pid: {
type: DataTypes.INTEGER(11),
allowNull: true
},
menu_name: {
type: DataTypes.STRING(50),
allowNull: false
},
menu_url: {
type: DataTypes.STRING(255),
allowNull: true
},
menu_code: {
type: DataTypes.STRING(50),
allowNull: true
},
menu_status: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '1'
},
menu_type: {
type: DataTypes.STRING(20),
allowNull: true
},
description: {
type: DataTypes.STRING(200),
allowNull: true
},
icon_url: {
type: DataTypes.STRING(200),
allowNull: true
},
sort: {
type: DataTypes.INTEGER(11),
allowNull: true
},
oper_user_id: {
type: DataTypes.INTEGER(6),
allowNull: true,
defaultValue: 0
}
}, {
tableName: 'ms_admin_menu'
});
};
//# sourceMappingURL=ms_admin_menu.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_admin_role', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
created_at: {
type: DataTypes.DATE,
allowNull: false
},
updated_at: {
type: DataTypes.DATE,
allowNull: false
},
role_name: {
type: DataTypes.STRING(20),
allowNull: false
},
role_code: {
type: DataTypes.STRING(20),
allowNull: false
},
menu_id: {
type: DataTypes.STRING(50),
allowNull: true
},
description: {
type: DataTypes.STRING(200),
allowNull: true
},
sort: {
type: DataTypes.INTEGER(6),
allowNull: true
},
role_status: {
type: DataTypes.STRING(255),
allowNull: true,
defaultValue: '1'
},
oper_user_id: {
type: DataTypes.INTEGER(6),
allowNull: true,
defaultValue: 0
}
}, {
tableName: 'ms_admin_role'
});
};
//# sourceMappingURL=ms_admin_role.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_app_log', {
id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true,
autoIncrement: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
app_code: {
type: DataTypes.STRING(50),
allowNull: true
},
log_level: {
type: DataTypes.STRING(50),
allowNull: true
},
user_id: {
type: DataTypes.BIGINT,
allowNull: true
},
user_name: {
type: DataTypes.STRING(50),
allowNull: true
},
log_message: {
type: DataTypes.TEXT,
allowNull: true
},
log_data: {
type: DataTypes.TEXT,
allowNull: true
},
ip: {
type: DataTypes.STRING(50),
allowNull: true
},
header: {
type: DataTypes.STRING(50),
allowNull: true
},
app_version: {
type: DataTypes.JSON,
allowNull: true
},
log_path: {
type: DataTypes.STRING(50),
allowNull: true
}
}, {
tableName: 'ms_app_log'
});
};
//# sourceMappingURL=ms_app_log.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_appversion', {
Id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
App_Code: {
type: DataTypes.STRING(20),
allowNull: false
},
App_Name: {
type: DataTypes.STRING(20),
allowNull: false
},
Sys_Code: {
type: DataTypes.STRING(10),
allowNull: false
},
Sys_Name: {
type: DataTypes.STRING(20),
allowNull: false
},
Version_Code: {
type: DataTypes.STRING(40),
allowNull: false
},
Version_Type: {
type: DataTypes.STRING(30),
allowNull: false
},
Version_Content: {
type: DataTypes.STRING(5000),
allowNull: true
},
Package_Url: {
type: DataTypes.STRING(500),
allowNull: true
},
Package_Weight: {
type: DataTypes.STRING(100),
allowNull: true
},
Publish_Time: {
type: DataTypes.DATE,
allowNull: true
},
Update_Time: {
type: DataTypes.DATE,
allowNull: true
},
Version_Num: {
type: DataTypes.STRING(50),
allowNull: true
},
IsActive: {
type: DataTypes.BOOLEAN,
allowNull: true
},
Update_Way: {
type: DataTypes.STRING(4),
allowNull: true
},
Download_Way: {
type: DataTypes.STRING(4),
allowNull: true
},
IsShow: {
type: DataTypes.BOOLEAN,
allowNull: true
},
Sys_Version: {
type: DataTypes.INTEGER(8),
allowNull: true
},
Promoter_Id: {
type: DataTypes.INTEGER(8),
allowNull: true
}
}, {
tableName: 'ms_appversion'
});
};
//# sourceMappingURL=ms_appversion.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_article', {
uuid: {
type: DataTypes.STRING(50),
allowNull: false,
primaryKey: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
},
type_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
type_code: {
type: DataTypes.STRING(50),
allowNull: true
},
type_name: {
type: DataTypes.STRING(50),
allowNull: true
},
app_code: {
type: DataTypes.STRING(50),
allowNull: true
},
title: {
type: DataTypes.STRING(200),
allowNull: true
},
short_title: {
type: DataTypes.STRING(100),
allowNull: true
},
keywords: {
type: DataTypes.STRING(100),
allowNull: true
},
contents: {
type: DataTypes.TEXT,
allowNull: true
},
article_source: {
type: DataTypes.STRING(100),
allowNull: true
},
read_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
auther_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
auther_name: {
type: DataTypes.STRING(50),
allowNull: true
},
is_image: {
type: DataTypes.INTEGER(11),
allowNull: true
},
banner_image_url: {
type: DataTypes.STRING(500),
allowNull: true
},
background_image_url: {
type: DataTypes.STRING(500),
allowNull: true
},
pc_image_url: {
type: DataTypes.STRING(500),
allowNull: true
},
is_hot: {
type: DataTypes.INTEGER(11),
allowNull: true
},
is_show: {
type: DataTypes.INTEGER(11),
allowNull: true
},
tag: {
type: DataTypes.STRING(100),
allowNull: true
},
article_options: {
type: DataTypes.JSON,
allowNull: true
},
article_target_url: {
type: DataTypes.STRING(500),
allowNull: true
},
effective_begin_date: {
type: DataTypes.DATE,
allowNull: true
},
effective_end_date: {
type: DataTypes.DATE,
allowNull: true
},
article_target_type: {
type: DataTypes.INTEGER(11),
allowNull: true
},
version: {
type: DataTypes.STRING(50),
allowNull: true
},
effective_type: {
type: DataTypes.STRING(50),
allowNull: true
},
effective_weekly_day: {
type: DataTypes.STRING(50),
allowNull: true
},
effective_daily_begin_time: {
type: DataTypes.STRING(50),
allowNull: true
},
effective_daily_end_time: {
type: DataTypes.STRING(50),
allowNull: true
},
sub_code: {
type: DataTypes.STRING(50),
allowNull: true
}
}, {
tableName: 'ms_article'
});
};
//# sourceMappingURL=ms_article.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_basketball_company', {
ms_nba_company_id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
createdAt: {
type: DataTypes.DATE,
allowNull: true
},
updatedAt: {
type: DataTypes.DATE,
allowNull: true
},
info_nba_company_id: {
type: DataTypes.BIGINT,
allowNull: true
},
sportdt_nba_company_id: {
type: DataTypes.BIGINT,
allowNull: true
},
info_nba_company_name: {
type: DataTypes.STRING(100),
allowNull: true
},
sportdt_nba_company_name: {
type: DataTypes.STRING(100),
allowNull: true
},
info_nba_company_type: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'ms_basketball_company'
});
};
//# sourceMappingURL=ms_basketball_company.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_basketball_competition', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
},
info_match_type_id: {
type: DataTypes.BIGINT,
allowNull: true
},
sportdt_competition_id: {
type: DataTypes.BIGINT,
allowNull: true,
unique: true
},
info_match_type_parent_id: {
type: DataTypes.BIGINT,
allowNull: true
},
sportdt_competition_name: {
type: DataTypes.STRING(1000),
allowNull: true
},
sportdt_competition_short_name: {
type: DataTypes.STRING(1000),
allowNull: true
},
color: {
type: DataTypes.STRING(50),
allowNull: true
},
start_date: {
type: DataTypes.STRING(20),
allowNull: true
},
end_date: {
type: DataTypes.STRING(20),
allowNull: true
},
sort_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
area_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
twitter_url: {
type: DataTypes.STRING(500),
allowNull: true
},
facebook_url: {
type: DataTypes.STRING(500),
allowNull: true
},
competition_logo: {
type: DataTypes.STRING(1000),
allowNull: true
},
photo: {
type: DataTypes.STRING(500),
allowNull: true
},
blog_flag: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
instagram_url: {
type: DataTypes.STRING(500),
allowNull: true
},
blog_uuid: {
type: DataTypes.STRING(200),
allowNull: true
},
info_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sporttery_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
leisu_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
yiqiu_name: {
type: DataTypes.STRING(50),
allowNull: true
},
yiqiu_logo: {
type: DataTypes.STRING(500),
allowNull: true
},
yiqiu_short_name: {
type: DataTypes.STRING(50),
allowNull: true
},
yiqiu_en_name: {
type: DataTypes.STRING(100),
allowNull: true
},
yiqiu_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sort_name: {
type: DataTypes.STRING(20),
allowNull: true
},
area_name: {
type: DataTypes.STRING(50),
allowNull: true
},
yiqiu_competition_season: {
type: DataTypes.STRING(20),
allowNull: true
},
yiqiu_competition_round: {
type: DataTypes.STRING(20),
allowNull: true
},
yiqiu_competition_mode: {
type: DataTypes.STRING(20),
allowNull: true
},
yiqiu_competition_round_detail: {
type: DataTypes.JSON,
allowNull: true
},
team_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
team_record: {
type: DataTypes.JSON,
allowNull: true
},
player_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
player_avg_age: {
type: DataTypes.DECIMAL,
allowNull: true
},
player_non_local_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
team_last_champion: {
type: DataTypes.JSON,
allowNull: true
},
player_last_mvp: {
type: DataTypes.JSON,
allowNull: true
},
is_hot: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
hot_order: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
status: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '1'
},
rank_memo: {
type: DataTypes.STRING(1000),
allowNull: true
}
}, {
tableName: 'ms_basketball_competition'
});
};
//# sourceMappingURL=ms_basketball_competition.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_basketball_competition_history', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: '0',
primaryKey: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
},
info_match_type_id: {
type: DataTypes.BIGINT,
allowNull: true
},
sportdt_competition_id: {
type: DataTypes.BIGINT,
allowNull: true
},
info_match_type_parent_id: {
type: DataTypes.BIGINT,
allowNull: true
},
sportdt_competition_name: {
type: DataTypes.STRING(1000),
allowNull: true
},
sportdt_competition_short_name: {
type: DataTypes.STRING(1000),
allowNull: true
},
color: {
type: DataTypes.STRING(50),
allowNull: true
},
start_date: {
type: DataTypes.STRING(20),
allowNull: true
},
end_date: {
type: DataTypes.STRING(20),
allowNull: true
},
sort_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
area_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
twitter_url: {
type: DataTypes.STRING(500),
allowNull: true
},
facebook_url: {
type: DataTypes.STRING(500),
allowNull: true
},
competition_logo: {
type: DataTypes.STRING(1000),
allowNull: true
},
photo: {
type: DataTypes.STRING(500),
allowNull: true
},
blog_flag: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
instagram_url: {
type: DataTypes.STRING(500),
allowNull: true
},
blog_uuid: {
type: DataTypes.STRING(200),
allowNull: true
},
info_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sporttery_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
leisu_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
yiqiu_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sort_name: {
type: DataTypes.STRING(20),
allowNull: true
},
area_name: {
type: DataTypes.STRING(50),
allowNull: true
},
yiqiu_competition_season: {
type: DataTypes.STRING(20),
allowNull: true
},
yiqiu_competition_round: {
type: DataTypes.STRING(20),
allowNull: true
},
yiqiu_competition_mode: {
type: DataTypes.STRING(20),
allowNull: true
},
yiqiu_competition_round_detail: {
type: DataTypes.JSON,
allowNull: true
},
team_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
team_record: {
type: DataTypes.JSON,
allowNull: true
},
player_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
player_avg_age: {
type: DataTypes.DECIMAL,
allowNull: true
},
player_non_local_count: {
type: DataTypes.INTEGER(11),
allowNull: true
},
team_last_champion: {
type: DataTypes.JSON,
allowNull: true
},
player_last_mvp: {
type: DataTypes.JSON,
allowNull: true
},
is_hot: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
hot_order: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '0'
},
status: {
type: DataTypes.INTEGER(11),
allowNull: true,
defaultValue: '1'
},
rank_memo: {
type: DataTypes.STRING(1000),
allowNull: true
}
}, {
tableName: 'ms_basketball_competition_history'
});
};
//# sourceMappingURL=ms_basketball_competition_history.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_basketball_game_odds', {
id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true,
autoIncrement: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
},
sportsdt_game_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sportsdt_company_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
match_time: {
type: DataTypes.DATE,
allowNull: true
},
ah: {
type: DataTypes.JSON,
allowNull: true
},
ou: {
type: DataTypes.JSON,
allowNull: true
},
hda: {
type: DataTypes.JSON,
allowNull: true
},
ah_list: {
type: DataTypes.JSON,
allowNull: true
},
ou_list: {
type: DataTypes.JSON,
allowNull: true
},
hda_list: {
type: DataTypes.JSON,
allowNull: true
},
yiqiu_game_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
yiqiu_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
yiqiu_host_team_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
yiqiu_guest_team_id: {
type: DataTypes.INTEGER(11),
allowNull: true
}
}, {
tableName: 'ms_basketball_game_odds'
});
};
//# sourceMappingURL=ms_basketball_game_odds.js.map
\ No newline at end of file \ No newline at end of file
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_basketball_player', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
info_player_id: {
type: DataTypes.BIGINT,
allowNull: true
},
sportdt_player_id: {
type: DataTypes.BIGINT,
allowNull: true,
unique: true
},
name: {
type: DataTypes.STRING(50),
allowNull: true
},
en_name: {
type: DataTypes.STRING(50),
allowNull: true
},
sname: {
type: DataTypes.STRING(20),
allowNull: true
},
birthday: {
type: DataTypes.STRING(20),
allowNull: true
},
height: {
type: DataTypes.STRING(10),
allowNull: true
},
weight: {
type: DataTypes.STRING(10),
allowNull: true
},
nationality: {
type: DataTypes.STRING(100),
allowNull: true
},
club: {
type: DataTypes.STRING(100),
allowNull: true
},
join_date: {
type: DataTypes.STRING(20),
allowNull: true
},
club_shirt_no: {
type: DataTypes.STRING(20),
allowNull: true
},
position: {
type: DataTypes.STRING(50),
allowNull: true
},
former_club: {
type: DataTypes.STRING(100),
allowNull: true
},
once_club: {
type: DataTypes.STRING(500),
allowNull: true
},
profile: {
type: DataTypes.TEXT,
allowNull: true
},
honours: {
type: DataTypes.TEXT,
allowNull: true
},
photo: {
type: DataTypes.STRING(200),
allowNull: true
},
join_fee: {
type: DataTypes.STRING(50),
allowNull: true
},
twitter_url: {
type: DataTypes.STRING(255),
allowNull: true
},
twitter_fan_count: {
type: DataTypes.STRING(10),
allowNull: true
},
twitter_banners: {
type: DataTypes.STRING(255),
allowNull: true
},
team_id: {
type: DataTypes.INTEGER(8),
allowNull: true
},
competition_id: {
type: DataTypes.INTEGER(8),
allowNull: true
},
history_team: {
type: DataTypes.STRING(2000),
allowNull: true
},
history_competition: {
type: DataTypes.STRING(2000),
allowNull: true
},
sportdt_team_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
sportdt_competition_id: {
type: DataTypes.INTEGER(11),
allowNull: true
},
blog_flag: {
type: DataTypes.INTEGER(2),
allowNull: true,
defaultValue: '0'
},
sportdt_team_name: {
type: DataTypes.STRING(50),
allowNull: true
},
sportdt_competition_name: {
type: DataTypes.STRING(50),
allowNull: true
},
facebook_url: {
type: DataTypes.STRING(500),
allowNull: true
},
player_logo: {
type: DataTypes.STRING(500),
allowNull: true
},
instagram_url: {
type: DataTypes.STRING(500),
allowNull: true
},
blog_uuid: {
type: DataTypes.STRING(200),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true
},
updated_at: {
type: DataTypes.DATE,
allowNull: true
}
}, {
tableName: 'ms_basketball_player'
});
};
//# sourceMappingURL=ms_basketball_player.js.map
\ No newline at end of file \ No newline at end of file
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件太大,无法显示。
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!