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

MySQL建表SQL语句

数据库结构:OPMS和OA管理-出差表:https://open.yesapi.cn/tablelist/yesapi_opms_pms_businesstrips.html


-- 数据库大全:OPMS和OA管理-出差表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_opms_pms_businesstrips` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `userid` bigint(20) NULL COMMENT '',
    `destinations` varchar(50) NULL COMMENT '目的地',
    `starteds` varchar(200) NULL COMMENT '开始日期',
    `endeds` varchar(200) NULL COMMENT '结束日期',
    `days` tinyint(4) NULL COMMENT '天数',
    `reason` varchar(500) NULL COMMENT '出差事由',
    `picture` varchar(100) NULL COMMENT '1同',
    `result` tinyint(1) NULL COMMENT '1同意2拒绝',
    `yesapi_opms_pms_businesstrips_status` tinyint(1) NULL DEFAULT '1' COMMENT '1草稿2正常发布',
    `approverids` varchar(200) NULL COMMENT '审批人串',
    `created` int(10) NULL COMMENT '',
    `yesapi_opms_pms_businesstrips_changed` int(10) NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-出差表';

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


MySQL数据库表结构设计

第 1-12 条, 共 12 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
useridbigint(20)无索引
destinationsvarchar(50)目的地无索引
startedsvarchar(200)开始日期无索引
endedsvarchar(200)结束日期无索引
daystinyint(4)天数无索引
reasonvarchar(500)出差事由无索引
picturevarchar(100)1同无索引
resulttinyint(1)1同意2拒绝无索引
yesapi_opms_pms_businesstrips_statustinyint(1)11草稿2正常发布无索引1
approveridsvarchar(200)审批人串无索引
createdint(10)无索引
yesapi_opms_pms_businesstrips_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管理- 消息表



回到顶部 ↑