Bläddra i källkod

上传文件至 'data'

master
童毓泽 3 år sedan
förälder
incheckning
e393acd66d
20 ändrade filer med 1479 tillägg och 0 borttagningar
  1. +111
    -0
      data/tb_address.sql
  2. +49
    -0
      data/tb_albums.sql
  3. +90
    -0
      data/tb_attribute.sql
  4. +78
    -0
      data/tb_attribute_value.sql
  5. +41
    -0
      data/tb_bianliang.sql
  6. +66
    -0
      data/tb_coupon.sql
  7. +51
    -0
      data/tb_couponuser.sql
  8. +48
    -0
      data/tb_databackup.sql
  9. +96
    -0
      data/tb_freight.sql
  10. +90
    -0
      data/tb_manager.sql
  11. +55
    -0
      data/tb_manager_log.sql
  12. +27
    -0
      data/tb_manager_role.sql
  13. +41
    -0
      data/tb_manager_role_value.sql
  14. +27
    -0
      data/tb_message.sql
  15. +132
    -0
      data/tb_news.sql
  16. +38
    -0
      data/tb_pinpai.sql
  17. +218
    -0
      data/tb_product.sql
  18. +48
    -0
      data/tb_product_attribute_list.sql
  19. +55
    -0
      data/tb_product_attribute_value.sql
  20. +118
    -0
      data/tb_product_class.sql

+ 111
- 0
data/tb_address.sql Visa fil

@ -0,0 +1,111 @@
--
create table tb_address (
id int identity, --ID
userid int null default 0, --ID
name nvarchar(100) null, --
mobile nvarchar(20) null default'', --
zipcode nvarchar(20) null default'', --
province nvarchar(100) null default'', --
city nvarchar(100) null default'', --
area nvarchar(100) null default'', --
xxaddress nvarchar(255) null default'', --
paixu int null default 0, --
state int null default 0, --{0/1/}
stateaddress int null default 0, --{0/1/}
add_time datetime null default getdate(), --
constraint PK_TB_ADDRESS primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'会员ID',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'userid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'收件人',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'联系电话',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'mobile'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'邮政编码',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'zipcode'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'province'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'city'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'area'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'详细地址',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'xxaddress'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'是否设为默认收货地址{0/是,1/否}',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'state'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'是否为有效地址{0/是,1/否}',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'stateaddress'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'地址创建日期',
'user', @CurrentUser, 'table', 'tb_address', 'column', 'add_time'
go

+ 49
- 0
data/tb_albums.sql Visa fil

@ -0,0 +1,49 @@
--
create table tb_albums (
id int identity, --ID
paixu int null default 0, --
guid nvarchar(50) null, --guid
big_img nvarchar(255) null, --
small_img nvarchar(255) null, --
remark nvarchar(500) null default '', --
constraint PK_TB_ALBUMS primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'guid',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'大图路径',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'big_img'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'缩略图路径',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'small_img'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'备注',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'remark'
go

+ 90
- 0
data/tb_attribute.sql Visa fil

@ -0,0 +1,90 @@
--
create table tb_attribute (
id int identity, --id
class_id int not null, --id
title nvarchar(100) null, --
guid nvarchar(50) null, --guid
parent_id int null default 0, --id
class_list nvarchar(500) null, --
class_layer int null default 0, --
paixu int null default 0, --
url nvarchar(255) null default '', --
path nvarchar(255) null default '', --
content nvarchar(500) null, --
add_time datetime null default getdate() --
constraint PK_TB_ATTRIBUTE primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'添加日期',
'user', 'dbo', 'table', 'tb_attribute', 'column', 'add_time'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'类别',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'class_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'名称',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'guid',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'父级',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'parent_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'栏目集',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'class_list'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'深度',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'class_layer'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'链接地址',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'url'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'图片路径',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'path'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'内容',
'user', @CurrentUser, 'table', 'tb_attribute', 'column', 'content'
go

+ 78
- 0
data/tb_attribute_value.sql Visa fil

@ -0,0 +1,78 @@
--
create table tb_attribute_value (
id int identity, --id
class_id int not null default 0, --id
parent_id int not null default 0, --id
guid nvarchar(50) null, --guid
title nvarchar(100) null, --
path nvarchar(255) null default '', --
content nvarchar(255) null, --
paixu int null default 0, --
status int null default 0 , --
add_time datetime null default getdate(), --
constraint PK_TB_ATTRIBUTE_VALUE primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'添加日期',
'user', 'dbo', 'table', 'tb_attribute_value', 'column', 'add_time'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'父级ID',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'parent_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'栏目ID',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'class_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'guid',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'名称',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'图片路径',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'path'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'内容',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'状态',
'user', @CurrentUser, 'table', 'tb_attribute_value', 'column', 'status'
go

+ 41
- 0
data/tb_bianliang.sql Visa fil

@ -0,0 +1,41 @@
--
create table tb_bianliang (
id int identity, --
paixu int null default 0, --
keyid nvarchar(255) null, --key
zhi ntext null, --
beizhu ntext null, --
status int null default 0, --(0/1)
add_time datetime null default getdate(), --
constraint PK_TB_BIANLIANG primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'id'
go
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'paixu'
go
execute sp_addextendedproperty 'MS_Description',
'key',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'keyid'
go
execute sp_addextendedproperty 'MS_Description',
'',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'zhi'
go
execute sp_addextendedproperty 'MS_Description',
'备注',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'beizhu'
go
execute sp_addextendedproperty 'MS_Description',
'状态(0正常/1禁止)',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'status'
go
execute sp_addextendedproperty 'MS_Description',
'添加时间',
'user', 'dbo', 'table', 'tb_bianliang', 'column', 'add_time'
go

+ 66
- 0
data/tb_coupon.sql Visa fil

@ -0,0 +1,66 @@
--
create table tb_coupon (
id int identity, --
paixu int null default 0, --
name nvarchar(255) null default '', --
start_time datetime null, --
end_time datetime null, --
number int null default 0, --
purchase_amount decimal(18,2) null, --
coupon_amount decimal(18,2) null, --
status int null default 0, --(0/1)
add_time datetime null default getdate(), --
constraint PK_TB_COUPON primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'id'
go
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'paixu'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券名称',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'name'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券开始时间',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'start_time'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券结束时间',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'end_time'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券个数',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'number'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券满购金额',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'purchase_amount'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券金额',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'coupon_amount'
go
execute sp_addextendedproperty 'MS_Description',
'状态{1/显示,0/不显示}',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'status'
go
execute sp_addextendedproperty 'MS_Description',
'添加时间',
'user', 'dbo', 'table', 'tb_coupon', 'column', 'add_time'
go

+ 51
- 0
data/tb_couponuser.sql Visa fil

@ -0,0 +1,51 @@
--
create table tb_couponuser (
id int identity, --
paixu int null default 0, --
couponid int null default 0, --
name nvarchar(255) null default '', --
couponstatus int null default 0, --使(0使/1使)
add_time datetime null default getdate(), --
constraint PK_TB_COUPONUSER primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', 'dbo', 'table', 'tb_couponuser', 'column', 'id'
go
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', 'dbo', 'table', 'tb_couponuser', 'column', 'paixu'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券阿弟',
'user', 'dbo', 'table', 'tb_couponuser', 'column', 'couponid'
go
execute sp_addextendedproperty 'MS_Description',
'领取优惠券用户名',
'user', 'dbo', 'table', 'tb_couponuser', 'column', 'name'
go
execute sp_addextendedproperty 'MS_Description',
'优惠券使用状态(0未使用/1已使用)',
'user', 'dbo', 'table', 'tb_couponuser', 'column', 'couponstatus'
go
execute sp_addextendedproperty 'MS_Description',
'添加时间',
'user', 'dbo', 'table', 'tb_couponuser', 'column', 'add_time'
go

+ 48
- 0
data/tb_databackup.sql Visa fil

@ -0,0 +1,48 @@
--
create table tb_databackup (
id int identity, --
title nvarchar(100) null, --
paixu int null, --
storage nvarchar(100) null, --
user_name nvarchar(100) null, --
add_time datetime null default getdate(), --
constraint PK_TB_DATABACKUP primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', @CurrentUser, 'table', 'tb_databackup', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'标题',
'user', @CurrentUser, 'table', 'tb_databackup', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_databackup', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'内存大小',
'user', @CurrentUser, 'table', 'tb_databackup', 'column', 'storage'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'用户名称',
'user', @CurrentUser, 'table', 'tb_databackup', 'column', 'user_name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'添加日期',
'user', @CurrentUser, 'table', 'tb_databackup', 'column', 'add_time'
go

+ 96
- 0
data/tb_freight.sql Visa fil

@ -0,0 +1,96 @@
--
create table tb_freight (
id int identity, --
title nvarchar(100) null, --
gudingyf nvarchar(255) null default'', --
yuanmian nvarchar(255) null default'', --
yuanjifei nvarchar(255) null default'', --
jianmian nvarchar(255) null default'', --
jianjifei nvarchar(255) null default'', --
content nvarchar(255) null default'', --
paixu int null default 0, --
state int null default 0, --使{0/1/}
add_time datetime null default getdate(), --
constraint PK_TB_FREIGHT primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'物流方式',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'固定运费',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'gudingyf'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'满元免',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'yuanmian'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'不满元计费',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'yuanjifei'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'满件免',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'jianmian'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'不满件计费',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'jianjifei'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'整合内容',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'是否使用{0/是,1/否}',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'state'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'创建日期',
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'add_time'
go

+ 90
- 0
data/tb_manager.sql Visa fil

@ -0,0 +1,90 @@
--
create table tb_manager (
id int identity, --
paixu int null default 0, --
role_id int null default 0, --
department_id int null default 0, --
role_type int null default 0, --
user_name nvarchar(50) null, --
user_pwd nvarchar(50) null, --
real_name nvarchar(50) null, --
email nvarchar(50) null, --
telephone nvarchar(50) null, --
is_lock int null default 0, --(0/1)
add_time datetime null default getdate(), --
constraint PK_TB_MANAGER primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'角色阿弟',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'role_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'部门阿弟',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'department_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'角色类型',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'role_type'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'密码',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'user_pwd'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'用户名',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'user_name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'真实姓名',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'real_name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'邮箱',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'email'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'联系电话',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'telephone'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'状态(0正常/1禁用)',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'is_lock'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'添加时间',
'user', @CurrentUser, 'table', 'tb_manager', 'column', 'add_time'
go

+ 55
- 0
data/tb_manager_log.sql Visa fil

@ -0,0 +1,55 @@
--
create table tb_manager_log (
id int identity, --ID
user_id int null, --ID
user_name nvarchar(100) null, --
action_type nvarchar(100) null, --
note nvarchar(255) null, --
login_ip nvarchar(30) null, --IP
login_time datetime null default getdate(), --
constraint PK_TB_MANAGER_LOG primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'用户ID',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'user_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'用户名',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'user_name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'类型',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'action_type'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'日志',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'note'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'登录IP',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'login_ip'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'登录时间',
'user', @CurrentUser, 'table', 'tb_manager_log', 'column', 'login_time'
go

+ 27
- 0
data/tb_manager_role.sql Visa fil

@ -0,0 +1,27 @@
--½ÇÉ«
create table tb_manager_role (
id int identity, --×ÔÔöID
role_name nvarchar(100) null, --½ÇÉ«Ãû³Æ
role_type tinyint null, --½ÇÉ«ÀàÐÍ
constraint PK_TB_MANAGER_ROLE primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'×ÔÔöID',
'user', @CurrentUser, 'table', 'tb_manager_role', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'½ÇÉ«Ãû³Æ',
'user', @CurrentUser, 'table', 'tb_manager_role', 'column', 'role_name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'½ÇÉ«ÀàÐÍ',
'user', @CurrentUser, 'table', 'tb_manager_role', 'column', 'role_type'
go

+ 41
- 0
data/tb_manager_role_value.sql Visa fil

@ -0,0 +1,41 @@
--½ÇɫȨÏÞÖµ
create table tb_manager_role_value (
id int identity, --×ÔÔöID
role_id int null, --½ÇÉ«ID
channel_name nvarchar(255) null, --ƵµÀÃû³Æ
channel_id int null, --ƵµÀID
action_type nvarchar(100) null, --ȨÏÞÀàÐÍ
constraint PK_TB_MANAGER_ROLE_VALUE primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'×ÔÔöID',
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'½ÇÉ«ID',
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'role_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'ƵµÀÃû³Æ',
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'channel_name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'ƵµÀID',
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'channel_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'ȨÏÞÀàÐÍ',
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'action_type'
go

+ 27
- 0
data/tb_message.sql Visa fil

@ -0,0 +1,27 @@
--线
create table tb_message (
id int identity, --
paixu int null default 0, --
title nvarchar(255) null default '', --
add_time datetime null default getdate(), --
constraint PK_TB_MESSAGE primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', 'dbo', 'table', 'tb_message', 'column', 'id'
go
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', 'dbo', 'table', 'tb_message', 'column', 'paixu'
go
execute sp_addextendedproperty 'MS_Description',
'留言主题',
'user', 'dbo', 'table', 'tb_message', 'column', 'title'
go
execute sp_addextendedproperty 'MS_Description',
'添加日期',
'user', 'dbo', 'table', 'tb_message', 'column', 'add_time'
go

+ 132
- 0
data/tb_news.sql Visa fil

@ -0,0 +1,132 @@
--
create table tb_news (
id int identity, --
channel_id int not null default 0, --
category_id int not null default 0, --
guid nvarchar(50) null, --
title nvarchar(100) null, --
url nvarchar(255) null default '', --
path nvarchar(255) null default '', --
fujian nvarchar(255) null default '', --
seo_title nvarchar(255) null default '', --
seo_keywords nvarchar(255) null default '', --
seo_description nvarchar(255) null default '', --
content ntext null, --
paixu int null default 0, --
hits int null default 0, --
remark nvarchar(255) null default '', --
target int null default 0, --(0/1)
add_time datetime null default getdate(), --
state int null default 0, --(0/1)
constraint PK_TB_NEWS primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'状态(0显示/1隐藏)',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'state'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'频道阿弟',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'channel_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'栏目类别阿弟',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'category_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'打开方式(0新窗口/1原窗口)',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'target'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'既有阿弟',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'文章标题',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'链接地址',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'url'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'图片路径',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'path'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'附件地址',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'fujian'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'优化标题',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'seo_title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'优化关键字',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'seo_keywords'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'优化描述',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'seo_description'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'内容',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'点击数',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'hits'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'备注',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'remark'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'添加日期',
'user', @CurrentUser, 'table', 'tb_news', 'column', 'add_time'
go

+ 38
- 0
data/tb_pinpai.sql Visa fil

@ -0,0 +1,38 @@
--
create table tb_pinpai (
id int identity, --
paixu int null default 0, --
name nvarchar(255) null, --
beizhu ntext null, --
status int null default 0, --{1/0/}
add_time datetime null default getdate(), --
constraint PK_TB_PINPAI primary key (id)
)
go
execute sp_addextendedproperty 'MS_Description',
'自增阿弟',
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'id'
go
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'paixu'
go
execute sp_addextendedproperty 'MS_Description',
'品牌名称',
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'name'
go
execute sp_addextendedproperty 'MS_Description',
'状态{1/显示,0/不显示}',
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'status'
go
execute sp_addextendedproperty 'MS_Description',
'添加时间',
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'add_time'
go
execute sp_addextendedproperty 'MS_Description',
'备注',
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'beizhu'
go

+ 218
- 0
data/tb_product.sql Visa fil

@ -0,0 +1,218 @@
--
create table tb_product (
id int identity, --id
class_id nvarchar(255) null default '', --id
parent_id int not null default 0, --id
guid nvarchar(50) null, --guid
name nvarchar(100) null, --
url nvarchar(255) null default '', --
path nvarchar(255) null default '', --
fujian nvarchar(255) null default '', --
seo_title nvarchar(255) null default '', --seo标题
seo_keywords nvarchar(255) null default '', --seo关键字
seo_description nvarchar(255) null default '', --seo描述
content ntext null, --
paixu int null default 0, --
hits int null default 0, --
jifen int null default 0, --
status int null default 0, --
attribute_content ntext null, --
color_content ntext null, --
attribute_value nvarchar(255) null default '', --id集合
select_value ntext null default '', --
user_id int null default 0, --id
priceyj decimal(18,2) null, --
price decimal(18,2) null, --
sales int null default 0, --
xinpin int null default 0, --
tejia int null default 0, --
remai int null default 0, --
tuijian int null default 0, --
add_time datetime null default getdate(), --
statebaoyou int null default 0, --(0/1)
constraint PK_TB_PRODUCT primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'父级ID',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'parent_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'属性值id集合',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'attribute_value'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'栏目ID',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'class_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'guid',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'产品名称',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'name'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'链接地址',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'url'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'图片路径',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'path'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'附件地址',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'fujian'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'优化标题',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'seo_title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'优化关键字',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'seo_keywords'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'优化描述',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'seo_description'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'内容',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'点击数',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'hits'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'积分',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'jifen'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'状态',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'status'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'属性值',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'attribute_content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'颜色值',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'color_content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'当前选择值',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'select_value'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'用户ID',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'user_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'原价',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'priceyj'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'价格',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'price'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'销量',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'sales'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'推荐',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'tuijian'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'特价',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'tejia'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'热卖',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'remai'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'新品',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'xinpin'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'添加日期',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'add_time'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'是否包邮(0是/1否)',
'user', @CurrentUser, 'table', 'tb_product', 'column', 'statebaoyou'
go

+ 48
- 0
data/tb_product_attribute_list.sql Visa fil

@ -0,0 +1,48 @@
--
create table tb_product_attribute_list (
id int identity, --id
attribute_id int not null, --id
attribute_value_id int not null, --id
product_id int not null default 0, --id
title nvarchar(255) null default '', --
path nvarchar(255) null default '', --
constraint PK_TB_PRODUCT_ATTRIBUTE_LIST primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'属性分类id',
'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'attribute_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'属性值id',
'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'attribute_value_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'产品id',
'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'product_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'名称',
'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'图片路径',
'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'path'
go

+ 55
- 0
data/tb_product_attribute_value.sql Visa fil

@ -0,0 +1,55 @@
--
create table tb_product_attribute_value (
id int identity, --id
class_id nvarchar(500) not null, --
product_id int not null default 0, --id
count int not null default 0, --
price decimal(18,2) not null, --
code nvarchar(255) null default '', --
barcode nvarchar(255) null, --
constraint PK_TB_PRODUCT_ATTRIBUTE_VALUE primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'类别',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'class_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'产品id',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'product_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'数量',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'count'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'价格',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'price'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'商家编码',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'code'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'商品条形码',
'user', @CurrentUser, 'table', 'tb_product_attribute_value', 'column', 'barcode'
go

+ 118
- 0
data/tb_product_class.sql Visa fil

@ -0,0 +1,118 @@
--
create table tb_product_class (
id int identity, --id
channel_id int not null default 0, --
title nvarchar(100) null, --
guid nvarchar(50) null, --guid
parent_id int null default 0, --id
class_list nvarchar(500) null, --
attribute_list nvarchar(500) null, --
class_layer int null default 0, --
paixu int null default 0, --
url nvarchar(255) null default '', --
path nvarchar(255) null default '', --
content ntext null, --
seo_title nvarchar(255) null default '', --seo깃痙
seo_keywords nvarchar(255) null default '', --seo밑숩俚
seo_description nvarchar(255) null default '', --seo췄甘
state int null default 0, --(0/1)
constraint PK_TB_PRODUCT_CLASS primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'菱藤ID',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'榴檄(0鞫刻/1茶꾜)',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'state'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'틉돛각뒬',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'channel_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'츰냔',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'guid',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'만섬',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'parent_id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'으커섞',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'class_list'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'橄昑섞',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'attribute_list'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'�똑',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'class_layer'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'탤埼',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'졍쌈뒈囹',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'url'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'暠튬쨌쓺',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'path'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'코휭',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'content'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'膽뺏깃痙',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'seo_title'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'膽뺏밑숩俚',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'seo_keywords'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'膽뺏췄甘',
'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'seo_description'
go

Laddar…
Avbryt
Spara