diff --git a/doc/设计文档/数据库设计/mes-cal.sql b/doc/设计文档/数据库设计/mes-cal.sql index 5e20f4a..fd7c244 100644 --- a/doc/设计文档/数据库设计/mes-cal.sql +++ b/doc/设计文档/数据库设计/mes-cal.sql @@ -6,6 +6,7 @@ create table cal_team ( team_id bigint(20) not null auto_increment comment '班组ID', team_code varchar(64) not null comment '班组编号', team_name varchar(255) not null comment '班组名称', + calendar_type varchar(64) comment '班组类型', remark varchar(500) default '' comment '备注', attr1 varchar(64) default null comment '预留字段1', attr2 varchar(255) default null comment '预留字段2', @@ -51,6 +52,7 @@ create table cal_plan ( plan_id bigint(20) not null auto_increment comment '计划ID', plan_code varchar(64) not null comment '计划编号', plan_name varchar(255) not null comment '计划名称', + calendar_type varchar(64) comment '班组类型', start_date datetime not null comment '开始日期', end_date datetime not null comment '结束日期', shift_type varchar(64) comment '轮班方式', @@ -125,8 +127,8 @@ create table cal_holiday ( holiday_id bigint(20) not null auto_increment comment '流水号', the_day datetime comment '日期', holiday_type varchar(64) comment '日期类型', - start_time datetime not null comment '开始时间', - end_time datetime not null comment '结束时间', + start_time datetime comment '开始时间', + end_time datetime comment '结束时间', remark varchar(500) default '' comment '备注', attr1 varchar(64) default null comment '预留字段1', attr2 varchar(255) default null comment '预留字段2',