表名:ZL_Group












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1GroupIDint40  会员组ID
2GroupNamenvarchar500    会员组名
3OtherNamenvarchar2550    别名
4Descriptionnvarchar2550    会员组说明
5RegSelectbit10    注册时是否可选
6IsDefaultbit10    是否默认会员组
7CCountPerDayint40    每天可发布内容数量
8FavCountint40    收藏夹设置
9ConsumeTypeint40    计费方式
10UpGradeMoneymoney84    余额升级价格
11UpSIconmoney84    银币升级价格
12UpPointmoney84    积分升级价格
13CompanyGroupint40    是否为企业用组:0-否 1-是
14VIPNumint40    /默认VIP 积分
15VIPGroupint40    是否为VIP用组:0-否 1-是
16RebateRatefloat80    返利比率
17Creditint40    信誉值
18Enrollvarchar5000    招生人员
19ParentGroupIDint40    父会员组ID
20SignImgnvarchar2000    用于OA,部门签章信息
21OrderIDint40     

简要说明:

会员组表

GO
CREATE TABLE [dbo].[ZL_Group](
[GroupID] [int] IDENTITY(1,1) NOT NULL,
[GroupName] [nvarchar](50) NOT NULL,
[OtherName] [nvarchar](255) NULL,
[Description] [nvarchar](255) NULL,
[RegSelect] [bit] NULL,
[IsDefault] [bit] NULL,
[CCountPerDay] [int] NULL,
[FavCount] [int] NULL,
[ConsumeType] [int] NULL,
[UpGradeMoney] [money] NULL,
[UpSIcon] [money] NULL,
[UpPoint] [money] NULL,
[CompanyGroup] [int] NULL,
[VIPNum] [int] NULL,
[VIPGroup] [int] NULL,
[RebateRate] [float] NULL,
[Credit] [int] NULL,
[Enroll] [varchar](500) NULL,
[ParentGroupID] [int] NULL,
[SignImg] [nvarchar](200) NULL,
[OrderID] [int] NULL,
CONSTRAINT [PK_ZL_UserGroup] PRIMARY KEY CLUSTERED
([GroupID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

SET IDENTITY_INSERT [ZL_Group] ON
INSERT [ZL_Group] ( [GroupID] , [GroupName] , [OtherName] , [Description] , [OrderID] , [RegSelect] , [IsDefault] , [CCountPerDay] , [FavCount] , [ConsumeType] , [UpGradeMoney] , [CompanyGroup] , [VIPNum] , [VIPGroup] , [RebateRate] ,[ParentGroupID] ) VALUES ( 1 , '普通会员' , '普通' , '普通会员注册' , 1 , 1 , 1 , 0 , 0 , 0 , .0000 , 0 , 0 , 0 , 0.69999998807907104 , 0 )
INSERT [ZL_Group] ( [GroupID] , [GroupName] , [OtherName] , [Description] , [OrderID] , [RegSelect] , [IsDefault] , [CCountPerDay] , [FavCount] , [ConsumeType] , [UpGradeMoney] , [CompanyGroup] , [VIPNum] , [VIPGroup] , [RebateRate] ,[ParentGroupID] ) VALUES ( 2 , '企业会员' , '企业' , '企业用户注册' , 2 , 1 , 0 , 0 , 0 , 0 , .0000 , 1 , 0 , 0 , 0.80000001192092896 , 0 )
SET IDENTITY_INSERT [ZL_Group] OFF

--注意:将清空全表数据

detele from ZL_Group

--注意:将删除整个表

drop table ZL_Group

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Group