Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
project-changning
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • project-changning
  • Issues
  • #49

Closed
Open
Created Aug 03, 2016 by 金小龙@xiaolong.jinDeveloper

行政处罚表

CREATE TABLE `company_penalty` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_id` int(11) NOT NULL DEFAULT '0' COMMENT '公司id',
  `source` varchar(50) NOT NULL DEFAULT '' COMMENT '来源部门',
  `matter` varchar(50) NOT NULL DEFAULT '' COMMENT '信息事项',
  `llegal_time` int(11) NOT NULL DEFAULT '0' COMMENT '违法日期',
  `decision_time` int(11) NOT NULL DEFAULT '0' COMMENT '处罚决定时间',
  `fact` varchar(2000) NOT NULL DEFAULT '' COMMENT '违法事实',
  `sanction` varchar(2000) NOT NULL DEFAULT '' COMMENT '处罚措施',
  `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_c` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `company_change_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_id` int(11) NOT NULL DEFAULT '0' COMMENT '公司id',
  `change_info` varchar(255) NOT NULL DEFAULT '' COMMENT '变更信息',
  `change_before` varchar(255) NOT NULL DEFAULT '' COMMENT '变更前内容',
  `change_after` varchar(255) NOT NULL DEFAULT '' COMMENT '变更后内容',
  `change_time` int(11) NOT NULL DEFAULT '0' COMMENT '变更时间',
  `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_c` (`company_id`)
) ENGINE=InnoDB AUTO_INCREMENT=330 DEFAULT CHARSET=utf8 COMMENT='公司更变记录表';
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking