数据表:T_SEC_USERGROUP(用户分组)

T_SEC_USERGROUP(用户分组):描述

名称

T_SEC_USERGROUP(用户分组)

代码

T_SEC_USERGROUP

注释

用户分组

模型

BOS

主键

pk_sec_usergroup


T_SEC_USERGROUP(用户分组):列规格定义

名称

代码

数据类型

长度

强制

注释

内码

FID

int

 

TRUE

 

编码

FNUMBER

nvarchar(100)

100

TRUE

 

分组纬度

FGROUPID

varchar(36)

36

TRUE

 

父分组内码

FPARENTID

int

 

TRUE

 

完整父分组编码

FFULLPARENTID

varchar(500)

500

TRUE

 

fleft

fleft

int

 

TRUE

 

fright

fright

int

 

TRUE

 


T_SEC_USERGROUP(用户分组):脚本代码

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

/*==============================================================*/
/* Table: T_SEC_USERGROUP */
/*==============================================================*/
create table T_SEC_USERGROUP (
FID int not null default 0,
FNUMBER nvarchar(100) not null default '',
FGROUPID varchar(36) not null default '',
FPARENTID int not null default 0,
FFULLPARENTID varchar(500) not null default '',
fleft int not null default 0,
fright int not null default 0,
constraint pk_sec_usergroup primary key (FID)
)
go


T_SEC_USERGROUP(用户分组):键值定义

名称

代码

主要的

pk_sec_usergroup

pk_sec_usergroup

TRUE