数据表:t_org_orgfunc(组织职能)

t_org_orgfunc(组织职能):描述

名称

t_org_orgfunc(组织职能)

代码

T_ORG_ORGFUNC

注释

组织职能

模型

BOS

主键

pk_org_orgfunc


t_org_orgfunc(组织职能):列规格定义

名称

代码

数据类型

长度

强制

注释

内码

FORGFUNCID

int

 

TRUE

 

组织职能编码

FNUMBER

nvarchar(30)

30

TRUE

 

是否系统预置

FISSYSPRESET

char(1)

1

TRUE

 

创建人

FCREATORID

int

 

TRUE

 

创建日期

FCREATEDATE

datetime

 

FALSE

 

修改人

FMODIFIERID

int

 

TRUE

 

修改日期

FMODIFYDATE

datetime

 

FALSE

 

禁用

FFORBIDSTATUS

char(1)

1

TRUE

 

禁用人

FFORBIDORID

int

 

TRUE

 

禁用日期

FFORBIDDATE

datetime

 

FALSE

 

状态

FDOCUMENTSTATUS

char(1)

1

TRUE

 


t_org_orgfunc(组织职能):脚本代码

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

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

/*==============================================================*/
/* Table: T_ORG_ORGFUNC */
/*==============================================================*/
create table T_ORG_ORGFUNC (
FORGFUNCID int not null default 0,
FNUMBER nvarchar(30) not null default '',
FISSYSPRESET char(1) not null default '0',
FCREATORID int not null default 0,
FCREATEDATE datetime null,
FMODIFIERID int not null default 0,
FMODIFYDATE datetime null,
FFORBIDSTATUS char(1) not null default '',
FFORBIDORID int not null default 0,
FFORBIDDATE datetime null,
FDOCUMENTSTATUS char(1) not null default '',
constraint PK_ORG_ORGFUNC primary key (FORGFUNCID)
)
go

/*==============================================================*/
/* Index: idx_org_orgfunc */
/*==============================================================*/
create index idx_org_orgfunc on T_ORG_ORGFUNC (
FNUMBER ASC
)
go


t_org_orgfunc(组织职能):键值定义

名称

代码

主要的

pk_org_orgfunc

pk_org_orgfunc

TRUE


t_org_orgfunc(组织职能):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_org_orgfunc

idx_org_orgfunc

FALSE

FALSE

FALSE

FALSE

FALSE

t_org_orgfunc(组织职能)