+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:OPMS和OA管理-报销表:https://open.yesapi.cn/tablelist/yesapi_opms_pms_expenses.html


-- 数据库大全:OPMS和OA管理-报销表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_opms_pms_expenses` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `userid` bigint(20) NULL COMMENT '',
    `amounts` varchar(8) NULL COMMENT '报销金额json',
    `yesapi_opms_pms_expenses_types` varchar(200) NULL COMMENT '明细类型json',
    `contents` varchar(1000) NULL COMMENT '明细json',
    `total` varchar(8) NULL COMMENT '总金额',
    `picture` varchar(100) NULL COMMENT '1同',
    `result` tinyint(1) NULL COMMENT '1同意2拒绝',
    `yesapi_opms_pms_expenses_status` tinyint(1) NULL DEFAULT '1' COMMENT '1草稿2正常发布',
    `approverids` varchar(200) NULL COMMENT '审批人串',
    `created` int(10) NULL COMMENT '',
    `yesapi_opms_pms_expenses_changed` int(10) NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-报销表';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-11 条, 共 11 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
useridbigint(20)无索引
amountsvarchar(8)报销金额json无索引
yesapi_opms_pms_expenses_typesvarchar(200)明细类型json无索引
contentsvarchar(1000)明细json无索引
totalvarchar(8)总金额无索引
picturevarchar(100)1同无索引
resulttinyint(1)1同意2拒绝无索引
yesapi_opms_pms_expenses_statustinyint(1)11草稿2正常发布无索引1
approveridsvarchar(200)审批人串无索引
createdint(10)无索引
yesapi_opms_pms_expenses_changedint(10)无索引

猜你喜欢

MySQL数据库设计 OPMS和OA管理-相册表

MySQL数据库设计 OPMS和OA管理-相册评论表

MySQL数据库设计 OPMS和OA管理-相册点赞表

MySQL数据库设计 OPMS和OA管理-出差表

MySQL数据库设计 OPMS和OA管理-出差审批人表

MySQL数据库设计 OPMS和OA管理-考勤打卡表

MySQL数据库设计 OPMS和OA管理-部门表

MySQL数据库设计 OPMS和OA管理-报销审批人表

MySQL数据库设计 OPMS和OA管理-外出表

MySQL数据库设计 OPMS和OA管理-外出审批人表

MySQL数据库设计 OPMS和OA管理-组成员表

MySQL数据库设计 OPMS和OA管理-组权限表

MySQL数据库设计 OPMS和OA管理-组成员

MySQL数据库设计 OPMS和OA管理-知识分享表

MySQL数据库设计 OPMS和OA管理-知识评论表

MySQL数据库设计 OPMS和OA管理-知识点赞表

MySQL数据库设计 OPMS和OA管理-知识分享分类表

MySQL数据库设计 OPMS和OA管理-请假表

MySQL数据库设计 OPMS和OA管理-请假审批人表

MySQL数据库设计 OPMS和OA管理- 消息表



回到顶部 ↑