+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_opms_pms_leaves:/tablelist/okayapi_opms_pms_leaves.html


-- MySQL Table okayapi_opms_pms_leaves
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_leaves` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `userid` bigint(20) NULL COMMENT '请假人',
    `okayapi_opms_pms_leaves_type` tinyint(1) NULL COMMENT '1事假2病假3年假4调休5婚假6产假7陪产假8路途假9其他',
    `started` int(10) NULL COMMENT '开始时间',
    `ended` int(10) NULL COMMENT '结束时间',
    `days` float NULL COMMENT '请假天数',
    `reason` varchar(500) NULL COMMENT '原因',
    `picture` varchar(100) NULL COMMENT '图片',
    `result` tinyint(1) NULL COMMENT '1同意2拒绝',
    `okayapi_opms_pms_leaves_status` tinyint(1) NULL DEFAULT '1' COMMENT '1草稿2正常发布',
    `approverids` varchar(200) NULL COMMENT '审批人串',
    `created` int(10) NULL COMMENT '',
    `okayapi_opms_pms_leaves_changed` int(10) NULL COMMENT '',
    KEY `userid` (`userid`),
    KEY `okayapi_opms_pms_leaves_type` (`okayapi_opms_pms_leaves_type`),
    KEY `started` (`started`),
    KEY `ended` (`ended`),
    KEY `days` (`days`),
    KEY `reason` (`reason`),
    KEY `picture` (`picture`),
    KEY `result` (`result`),
    KEY `okayapi_opms_pms_leaves_status` (`okayapi_opms_pms_leaves_status`),
    KEY `approverids` (`approverids`),
    KEY `created` (`created`),
    KEY `okayapi_opms_pms_leaves_changed` (`okayapi_opms_pms_leaves_changed`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-请假表';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-12 of 12 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
useridbigint(20)请假人
okayapi_opms_pms_leaves_typetinyint(1)1事假2病假3年假4调休5婚假6产假7陪产假8路途假9其他
startedint(10)开始时间
endedint(10)结束时间
daysfloat请假天数
reasonvarchar(500)原因
picturevarchar(100)图片
resulttinyint(1)1同意2拒绝
okayapi_opms_pms_leaves_statustinyint(1)11草稿2正常发布1
approveridsvarchar(200)审批人串
createdint(10)
okayapi_opms_pms_leaves_changedint(10)

Guess You Like

MySQL Table Design okayapi_opms_pms_albums

MySQL Table Design okayapi_opms_pms_albums_comment

MySQL Table Design okayapi_opms_pms_albums_laud

MySQL Table Design okayapi_opms_pms_businesstrips

MySQL Table Design okayapi_opms_pms_businesstrips_approver

MySQL Table Design okayapi_opms_pms_checkworks

MySQL Table Design okayapi_opms_pms_departs

MySQL Table Design okayapi_opms_pms_expenses

MySQL Table Design okayapi_opms_pms_expenses_approver

MySQL Table Design okayapi_opms_pms_goouts

MySQL Table Design okayapi_opms_pms_goouts_approver

MySQL Table Design okayapi_opms_pms_groups

MySQL Table Design okayapi_opms_pms_groups_permission

MySQL Table Design okayapi_opms_pms_groups_user

MySQL Table Design okayapi_opms_pms_knowledges

MySQL Table Design okayapi_opms_pms_knowledges_comment

MySQL Table Design okayapi_opms_pms_knowledges_laud

MySQL Table Design okayapi_opms_pms_knowledges_sort

MySQL Table Design okayapi_opms_pms_leaves_approver

MySQL Table Design okayapi_opms_pms_messages

TOP ↑