数据表:T_WF_CALENDAR(工作流日历)

T_WF_CALENDAR(工作流日历):描述

名称

T_WF_CALENDAR(工作流日历)

代码

T_WF_CALENDAR

注释

T_WF_CALENDAR(工作流日历)

模型

BOS

主键

PK_WF_CALENDAR


T_WF_CALENDAR(工作流日历):列规格定义

名称

代码

数据类型

长度

强制

注释

主键

FID

int

 

TRUE

 

编码

FNumber

nvarchar(30)

30

TRUE

 

创建人

FCreatorId

int

 

TRUE

 

创建日期

FCreateDate

datetime

 

TRUE

 

修改人

FModifierId

int

 

TRUE

 

修改日期

FModifyDate

datetime

 

TRUE

 

数据状态

FDocumentStatus

char(1)

1

TRUE

 

禁用状态

FForbidStatus

char(1)

1

TRUE

 

创建组织

FCreateOrgId

int

 

TRUE

 

使用组织

FUseOrgId

int

 

TRUE

 

日历模板

FCalendarTemplateId

int

 

TRUE

 

是否共享

FIsShared

char(1)

1

TRUE

 

当日预计剩余工时(临时计算用)

FTempPredictHours

decimal(10,2)

10

TRUE

 


T_WF_CALENDAR(工作流日历):脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_WF_CALENDAR')
and name = 'IDX_WF_CALENDAR_Number'
and indid > 0
and indid < 255)
drop index T_WF_CALENDAR.IDX_WF_CALENDAR_Number
go

if exists (select 1
from sysobjects
where id = object_id('T_WF_CALENDAR')
and type = 'U')
drop table T_WF_CALENDAR
go

/*==============================================================*/
/* Table: T_WF_CALENDAR */
/*==============================================================*/
create table T_WF_CALENDAR (
FID int not null,
FNumber nvarchar(30) not null default ' ',
FCreatorId int not null default 0,
FCreateDate datetime not null default getdate(),
FModifierId int not null default 0,
FModifyDate datetime not null default getdate(),
FDocumentStatus char(1) not null default ' ',
FForbidStatus char(1) not null default ' ',
FCreateOrgId int not null default 0,
FUseOrgId int not null default 0,
FCalendarTemplateId int not null default 0,
FIsShared char(1) not null default '0',
FTempPredictHours decimal(10,2) not null default 0,
constraint PK_WF_CALENDAR primary key (FID)
)
go

/*==============================================================*/
/* Index: IDX_WF_CALENDAR_Number */
/*==============================================================*/
create index IDX_WF_CALENDAR_Number on T_WF_CALENDAR (
FNumber ASC
)
go


T_WF_CALENDAR(工作流日历):键值定义

名称

代码

主要的

PK_WF_CALENDAR

PK_WF_CALENDAR

TRUE


T_WF_CALENDAR(工作流日历):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_WF_CALENDAR_Number

IDX_WF_CALENDAR_Number

FALSE

FALSE

FALSE

FALSE

FALSE

T_WF_CALENDAR(工作流日历)