数据表:t_org_brtype(组织业务类型)

t_org_brtype(组织业务类型):描述

名称

t_org_brtype(组织业务类型)

代码

T_ORG_BRTYPE

注释

组织形态

模型

BOS

主键

pk_org_brtype


t_org_brtype(组织业务类型):列规格定义

名称

代码

数据类型

长度

强制

注释

业务类型内码

FBRTYPEID

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_brtype(组织业务类型):脚本代码

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

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

/*==============================================================*/
/* Table: T_ORG_BRTYPE */
/*==============================================================*/
create table T_ORG_BRTYPE (
FBRTYPEID 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_BRTYPE primary key (FBRTYPEID)
)
go

/*==============================================================*/
/* Index: idx_org_brtype */
/*==============================================================*/
create index idx_org_brtype on T_ORG_BRTYPE (
FNUMBER ASC
)
go


t_org_brtype(组织业务类型):键值定义

名称

代码

主要的

pk_org_brtype

PK_ORG_BRTYPE

TRUE


t_org_brtype(组织业务类型):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_org_brtype

idx_org_brtype

FALSE

FALSE

FALSE

FALSE

FALSE

t_org_brtype(组织业务类型)