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

MySQL建表SQL语句

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


-- 数据库大全:OPMS和OA管理-项目需求任务表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_opms_pms_projects_task` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `needsid` bigint(20) NULL COMMENT '',
    `userid` bigint(20) NULL COMMENT '创建人',
    `projectid` bigint(20) NULL COMMENT '项目ID',
    `acceptid` bigint(20) NULL COMMENT '任务接受人ID',
    `ccid` varchar(100) NULL COMMENT '抄送给',
    `completeid` bigint(20) NULL COMMENT '完成者id',
    `yesapi_opms_pms_projects_task_name` varchar(100) NULL COMMENT '任务名称',
    `yesapi_opms_pms_projects_task_desc` text NULL COMMENT '描述',
    `note` text NULL COMMENT '备注',
    `yesapi_opms_pms_projects_task_type` tinyint(1) NULL DEFAULT '8' COMMENT '任务类型1设计,2开发,3测试,4研究,5讨论,6界面,7事务,8其他',
    `yesapi_opms_pms_projects_task_level` tinyint(1) NULL DEFAULT '4' COMMENT '优先级1,2,3,4',
    `tasktime` tinyint(4) NULL COMMENT '预计工时',
    `ended` int(10) NULL COMMENT '截止日期',
    `started` int(10) NULL COMMENT '预计开始时间',
    `attachment` varchar(255) NULL COMMENT '附件',
    `created` int(10) NULL COMMENT '',
    `yesapi_opms_pms_projects_task_changed` int(10) NULL COMMENT '',
    `yesapi_opms_pms_projects_task_status` tinyint(1) NULL DEFAULT '1' COMMENT '1未开始,2进行中,3已完成,4已暂停,5已取消,6已关闭',
    `closeid` bigint(20) NULL COMMENT '关闭者ID',
    `cancelid` bigint(20) NULL COMMENT '取消者ID',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-项目需求任务表';

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


MySQL数据库表结构设计

第 1-20 条, 共 20 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
needsidbigint(20)无索引
useridbigint(20)创建人无索引
projectidbigint(20)项目ID无索引
acceptidbigint(20)任务接受人ID无索引
ccidvarchar(100)抄送给无索引
completeidbigint(20)完成者id无索引
yesapi_opms_pms_projects_task_namevarchar(100)任务名称无索引
yesapi_opms_pms_projects_task_desctext描述无索引
notetext备注无索引
yesapi_opms_pms_projects_task_typetinyint(1)8任务类型1设计,2开发,3测试,4研究,5讨论,6界面,7事务,8其他无索引8
yesapi_opms_pms_projects_task_leveltinyint(1)4优先级1,2,3,4无索引4
tasktimetinyint(4)预计工时无索引
endedint(10)截止日期无索引
startedint(10)预计开始时间无索引
attachmentvarchar(255)附件无索引
createdint(10)无索引
yesapi_opms_pms_projects_task_changedint(10)无索引
yesapi_opms_pms_projects_task_statustinyint(1)11未开始,2进行中,3已完成,4已暂停,5已取消,6已关闭无索引1
closeidbigint(20)关闭者ID无索引
cancelidbigint(20)取消者ID无索引

猜你喜欢

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



回到顶部 ↑