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

MySQL建表SQL语句

数据库结构:OPMS和OA管理-项目需求表:https://open.yesapi.cn/tablelist/yesapi_opms_pms_projects_needs.html


-- 数据库大全:OPMS和OA管理-项目需求表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_opms_pms_projects_needs` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `projectid` bigint(20) NULL COMMENT '项目ID',
    `userid` bigint(20) NULL COMMENT '创建人',
    `yesapi_opms_pms_projects_needs_name` varchar(100) NULL COMMENT '需求名称',
    `yesapi_opms_pms_projects_needs_desc` text NULL COMMENT '描述',
    `acceptid` bigint(20) NULL COMMENT '指派人userid',
    `yesapi_opms_pms_projects_needs_source` tinyint(2) NULL DEFAULT '0' COMMENT '来源1客户,2用户,3产品经理,4市场,5客服,6竞争对手,7合作伙伴,8开发人员,9测试人员,10其他',
    `acceptance` text NULL COMMENT '验收标准',
    `yesapi_opms_pms_projects_needs_level` tinyint(1) NULL DEFAULT '4' COMMENT '优先级1,2,3,4',
    `tasktime` tinyint(4) NULL COMMENT '预计工时',
    `attachment` varchar(255) NULL COMMENT '附件',
    `created` int(10) NULL COMMENT '',
    `yesapi_opms_pms_projects_needs_changed` int(10) NULL COMMENT '',
    `stage` tinyint(1) NULL DEFAULT '1' COMMENT '1未开始,2已计划,3已立项,4研发中,5研发完毕,6测试中,7测试完毕,8已验收,9已发布',
    `yesapi_opms_pms_projects_needs_status` tinyint(1) NULL DEFAULT '1' COMMENT '1草稿,2激活,3已变更,4待关闭,5已关闭',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-项目需求表';

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


MySQL数据库表结构设计

第 1-14 条, 共 14 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
projectidbigint(20)项目ID无索引
useridbigint(20)创建人无索引
yesapi_opms_pms_projects_needs_namevarchar(100)需求名称无索引
yesapi_opms_pms_projects_needs_desctext描述无索引
acceptidbigint(20)指派人userid无索引
yesapi_opms_pms_projects_needs_sourcetinyint(2)0来源1客户,2用户,3产品经理,4市场,5客服,6竞争对手,7合作伙伴,8开发人员,9测试人员,10其他无索引0
acceptancetext验收标准无索引
yesapi_opms_pms_projects_needs_leveltinyint(1)4优先级1,2,3,4无索引4
tasktimetinyint(4)预计工时无索引
attachmentvarchar(255)附件无索引
createdint(10)无索引
yesapi_opms_pms_projects_needs_changedint(10)无索引
stagetinyint(1)11未开始,2已计划,3已立项,4研发中,5研发完毕,6测试中,7测试完毕,8已验收,9已发布无索引1
yesapi_opms_pms_projects_needs_statustinyint(1)11草稿,2激活,3已变更,4待关闭,5已关闭无索引1

猜你喜欢

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管理-请假审批人表



回到顶部 ↑