USE [master]
GO
/****** Object:  Database [winformdevfarme]    Script Date: 2021/5/25 18:01:10 ******/
CREATE DATABASE [winformdevfarme]
 CONTAINMENT = NONE
 ON  PRIMARY 
( NAME = N'winformdevfarme', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\winformdevfarme.mdf' , SIZE = 45056KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'winformdevfarme_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\winformdevfarme_log.ldf' , SIZE = 219264KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
ALTER DATABASE [winformdevfarme] SET COMPATIBILITY_LEVEL = 110
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [winformdevfarme].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [winformdevfarme] SET ANSI_NULL_DEFAULT OFF 
GO
ALTER DATABASE [winformdevfarme] SET ANSI_NULLS OFF 
GO
ALTER DATABASE [winformdevfarme] SET ANSI_PADDING OFF 
GO
ALTER DATABASE [winformdevfarme] SET ANSI_WARNINGS OFF 
GO
ALTER DATABASE [winformdevfarme] SET ARITHABORT OFF 
GO
ALTER DATABASE [winformdevfarme] SET AUTO_CLOSE OFF 
GO
ALTER DATABASE [winformdevfarme] SET AUTO_CREATE_STATISTICS ON 
GO
ALTER DATABASE [winformdevfarme] SET AUTO_SHRINK OFF 
GO
ALTER DATABASE [winformdevfarme] SET AUTO_UPDATE_STATISTICS ON 
GO
ALTER DATABASE [winformdevfarme] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO
ALTER DATABASE [winformdevfarme] SET CURSOR_DEFAULT  GLOBAL 
GO
ALTER DATABASE [winformdevfarme] SET CONCAT_NULL_YIELDS_NULL OFF 
GO
ALTER DATABASE [winformdevfarme] SET NUMERIC_ROUNDABORT OFF 
GO
ALTER DATABASE [winformdevfarme] SET QUOTED_IDENTIFIER OFF 
GO
ALTER DATABASE [winformdevfarme] SET RECURSIVE_TRIGGERS OFF 
GO
ALTER DATABASE [winformdevfarme] SET  DISABLE_BROKER 
GO
ALTER DATABASE [winformdevfarme] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO
ALTER DATABASE [winformdevfarme] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO
ALTER DATABASE [winformdevfarme] SET TRUSTWORTHY OFF 
GO
ALTER DATABASE [winformdevfarme] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO
ALTER DATABASE [winformdevfarme] SET PARAMETERIZATION SIMPLE 
GO
ALTER DATABASE [winformdevfarme] SET READ_COMMITTED_SNAPSHOT OFF 
GO
ALTER DATABASE [winformdevfarme] SET HONOR_BROKER_PRIORITY OFF 
GO
ALTER DATABASE [winformdevfarme] SET RECOVERY FULL 
GO
ALTER DATABASE [winformdevfarme] SET  MULTI_USER 
GO
ALTER DATABASE [winformdevfarme] SET PAGE_VERIFY CHECKSUM  
GO
ALTER DATABASE [winformdevfarme] SET DB_CHAINING OFF 
GO
ALTER DATABASE [winformdevfarme] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF ) 
GO
ALTER DATABASE [winformdevfarme] SET TARGET_RECOVERY_TIME = 0 SECONDS 
GO
USE [winformdevfarme]
GO
/****** Object:  Table [dbo].[lottery]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[lottery](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[red1] [int] NULL,
	[red2] [int] NULL,
	[red3] [int] NULL,
	[red4] [int] NULL,
	[red5] [int] NULL,
	[red6] [int] NULL,
	[blue] [int] NULL,
 CONSTRAINT [PK_lottery] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
/****** Object:  Table [dbo].[stock]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[stock](
	[code] [varchar](50) NOT NULL,
	[name] [varchar](50) NULL,
	[startPrice] [decimal](10, 2) NULL,
	[olePrice] [decimal](10, 2) NULL,
	[nowPrice] [decimal](10, 2) NULL,
	[maxPrice] [decimal](10, 2) NULL,
	[minPrice] [decimal](10, 2) NULL,
	[bidderPrice] [decimal](10, 2) NULL,
	[auctionPrice] [decimal](10, 2) NULL,
	[turnover] [int] NULL,
	[turnoverPrice] [decimal](18, 2) NULL,
	[buyOneNum] [int] NULL,
	[buyOnePrice] [decimal](10, 2) NULL,
	[buyTwoNum] [int] NULL,
	[buyTwoPrice] [decimal](10, 2) NULL,
	[buyThreeNum] [int] NULL,
	[buyThreePrice] [decimal](10, 2) NULL,
	[buyFourNum] [int] NULL,
	[buyFourPrice] [decimal](10, 2) NULL,
	[buyFiveNum] [int] NULL,
	[buyFivePrice] [decimal](10, 2) NULL,
	[sellOneNum] [int] NULL,
	[sellOnePrice] [decimal](10, 2) NULL,
	[sellTwoNum] [int] NULL,
	[sellTwoPrice] [decimal](10, 2) NULL,
	[sellThreeNum] [int] NULL,
	[sellThreePrice] [decimal](10, 2) NULL,
	[sellFourNum] [int] NULL,
	[sellFourPrice] [decimal](10, 2) NULL,
	[sellFiveNum] [int] NULL,
	[sellFivePrice] [decimal](10, 2) NULL,
	[timeStr] [datetime] NULL,
	[id] [int] IDENTITY(1,1) NOT NULL,
 CONSTRAINT [PK_stock] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[stockData]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[stockData](
	[code] [varchar](50) NOT NULL,
	[name] [varchar](50) NULL,
	[startPrice] [decimal](10, 2) NULL,
	[olePrice] [decimal](10, 2) NULL,
	[nowPrice] [decimal](10, 2) NULL,
	[maxPrice] [decimal](10, 2) NULL,
	[minPrice] [decimal](10, 2) NULL,
	[bidderPrice] [decimal](10, 2) NULL,
	[auctionPrice] [decimal](10, 2) NULL,
	[turnover] [int] NULL,
	[turnoverPrice] [decimal](18, 2) NULL,
	[buyOneNum] [int] NULL,
	[buyOnePrice] [decimal](10, 2) NULL,
	[buyTwoNum] [int] NULL,
	[buyTwoPrice] [decimal](10, 2) NULL,
	[buyThreeNum] [int] NULL,
	[buyThreePrice] [decimal](10, 2) NULL,
	[buyFourNum] [int] NULL,
	[buyFourPrice] [decimal](10, 2) NULL,
	[buyFiveNum] [int] NULL,
	[buyFivePrice] [decimal](10, 2) NULL,
	[sellOneNum] [int] NULL,
	[sellOnePrice] [decimal](10, 2) NULL,
	[sellTwoNum] [int] NULL,
	[sellTwoPrice] [decimal](10, 2) NULL,
	[sellThreeNum] [int] NULL,
	[sellThreePrice] [decimal](10, 2) NULL,
	[sellFourNum] [int] NULL,
	[sellFourPrice] [decimal](10, 2) NULL,
	[sellFiveNum] [int] NULL,
	[sellFivePrice] [decimal](10, 2) NULL,
	[timeStr] [datetime] NULL,
	[id] [int] IDENTITY(1,1) NOT NULL,
 CONSTRAINT [PK_stockData] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysDataBase]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysDataBase](
	[name] [varchar](50) NOT NULL,
	[serverip] [varchar](50) NULL,
	[databasename] [varchar](50) NULL,
	[connecturl] [varchar](200) NULL,
	[username] [varchar](20) NULL,
	[passsword] [varchar](50) NULL,
 CONSTRAINT [PK_sysDataBase1] PRIMARY KEY CLUSTERED 
(
	[name] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysDataTable]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysDataTable](
	[DataTableName] [varchar](50) NOT NULL,
	[DataTableSql] [varchar](max) NULL,
	[DataTableUrl] [varchar](500) NULL,
	[DataSourceName] [varchar](200) NULL,
 CONSTRAINT [PK_sysDataTable] PRIMARY KEY CLUSTERED 
(
	[DataTableName] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysDept]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysDept](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[pid] [int] NULL,
	[name] [varchar](50) NULL,
	[address] [varchar](200) NULL,
	[phone] [varchar](50) NULL,
	[creatorId] [int] NULL,
	[createTime] [datetime] NULL,
	[editorId] [int] NULL,
	[editTime] [datetime] NULL,
 CONSTRAINT [PK_sysDept] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysDictData]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysDictData](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[dictTypeID] [int] NULL,
	[code] [varchar](50) NULL,
	[value] [varchar](200) NULL,
	[remark] [nchar](500) NULL,
	[sort] [varchar](50) NULL,
	[creatorId] [int] NULL,
	[createTime] [datetime] NULL,
	[editorId] [int] NULL,
	[editTime] [datetime] NULL,
 CONSTRAINT [PK_sysDictData] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysDictType]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysDictType](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[pid] [int] NULL,
	[name] [varchar](50) NULL,
	[sort] [varchar](50) NULL,
	[creatorId] [int] NULL,
	[createTime] [datetime] NULL,
	[editorId] [int] NULL,
	[editTime] [datetime] NULL,
	[remark] [varchar](500) NULL,
 CONSTRAINT [PK_sysDictType] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysFunction]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysFunction](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[pid] [int] NOT NULL,
	[name] [varchar](50) NULL,
	[functionCode] [varchar](50) NULL,
 CONSTRAINT [PK_sysFunction] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysMenu]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysMenu](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[pid] [int] NULL,
	[name] [varchar](50) NULL,
	[icon] [varchar](200) NULL,
	[winformType] [varchar](200) NULL,
	[sort] [varchar](50) NULL,
	[isEnabled] [bit] NULL,
	[toolList] [varchar](200) NULL,
	[creatorId] [int] NULL,
	[createTime] [datetime] NULL,
	[editorId] [int] NULL,
	[editTime] [datetime] NULL,
	[isForm] [bit] NULL,
	[isToolBtn] [bit] NULL,
	[functionCode] [varchar](50) NULL,
 CONSTRAINT [PK_sysMenu] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysRole]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysRole](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[companyId] [int] NULL,
	[companyName] [varchar](50) NULL,
	[name] [varchar](50) NULL,
	[creatorId] [int] NULL,
	[createTime] [datetime] NULL,
	[editorId] [int] NULL,
	[editTime] [datetime] NULL,
 CONSTRAINT [PK_sysRole] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysRoleFunction]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sysRoleFunction](
	[roleId] [int] NULL,
	[functionId] [int] NULL
) ON [PRIMARY]

GO
/****** Object:  Table [dbo].[sysUser]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[sysUser](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[account] [varchar](50) NULL,
	[username] [varchar](50) NULL,
	[password] [varchar](50) NULL,
	[email] [varchar](50) NULL,
	[mobilephone] [varchar](50) NULL,
	[deptId] [int] NULL,
	[isEnabled] [bit] NULL,
	[creatorId] [int] NULL,
	[createTime] [datetime] NULL,
	[editorId] [int] NULL,
	[editTime] [datetime] NULL,
 CONSTRAINT [PK_sysUser] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
/****** Object:  Table [dbo].[sysUserRole]    Script Date: 2021/5/25 18:01:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[sysUserRole](
	[userId] [int] NULL,
	[roleId] [int] NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[sysMenu] ADD  CONSTRAINT [DF_sysMenu_isEnabled]  DEFAULT ((0)) FOR [isEnabled]
GO
ALTER TABLE [dbo].[sysMenu] ADD  CONSTRAINT [DF_sysMenu_isForm]  DEFAULT ((0)) FOR [isForm]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'代码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日开盘价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'startPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'昨日收盘价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'olePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'nowPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日最高价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'maxPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日最低价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'minPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'竞买价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'bidderPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'竞卖价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'auctionPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成交股票数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'turnover'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成交金额' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'turnoverPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买1数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyOneNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买1价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyOnePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买2数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyTwoNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买2价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyTwoPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买3数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyThreeNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买3价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyThreePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买4数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyFourNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买4价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyFourPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买5数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyFiveNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买5价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'buyFivePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖1数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellOneNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖1价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellOnePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖2数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellTwoNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖2价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellTwoPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖3数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellThreeNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖3价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellThreePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖4数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellFourNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖4价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellFourPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖5数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellFiveNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖5价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'sellFivePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stock', @level2type=N'COLUMN',@level2name=N'timeStr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'代码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日开盘价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'startPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'昨日收盘价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'olePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'nowPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日最高价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'maxPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日最低价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'minPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'竞买价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'bidderPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'竞卖价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'auctionPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成交股票数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'turnover'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成交金额' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'turnoverPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买1数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyOneNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买1价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyOnePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买2数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyTwoNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买2价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyTwoPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买3数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyThreeNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买3价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyThreePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买4数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyFourNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买4价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyFourPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买5数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyFiveNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'买5价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'buyFivePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖1数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellOneNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖1价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellOnePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖2数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellTwoNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖2价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellTwoPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖3数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellThreeNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖3价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellThreePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖4数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellFourNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖4价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellFourPrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖5数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellFiveNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖5价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'sellFivePrice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'stockData', @level2type=N'COLUMN',@level2name=N'timeStr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据集名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDataTable', @level2type=N'COLUMN',@level2name=N'DataTableName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据集sql' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDataTable', @level2type=N'COLUMN',@level2name=N'DataTableSql'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据集连接' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDataTable', @level2type=N'COLUMN',@level2name=N'DataTableUrl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据源名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDataTable', @level2type=N'COLUMN',@level2name=N'DataSourceName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'pid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'address'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'电话' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'phone'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'creatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'createTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'editorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDept', @level2type=N'COLUMN',@level2name=N'editTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'dictTypeID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'value'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'creatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'createTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictData', @level2type=N'COLUMN',@level2name=N'editorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'pid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'creatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'createTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'editorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'editTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysDictType', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysFunction', @level2type=N'COLUMN',@level2name=N'id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysFunction', @level2type=N'COLUMN',@level2name=N'pid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysFunction', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'权限编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysFunction', @level2type=N'COLUMN',@level2name=N'functionCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'pid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'图标' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'icon'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'winformType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'sort'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'有效' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'isEnabled'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'功能按钮' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'toolList'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'creatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'createTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'editorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'editTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否界面' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'isForm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否功能按钮' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysMenu', @level2type=N'COLUMN',@level2name=N'isToolBtn'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'companyId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'companyName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'creatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'createTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'editorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysRole', @level2type=N'COLUMN',@level2name=N'editTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'工号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'account'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'username'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'密码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'password'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'邮件' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'email'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'电话' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'mobilephone'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'部门' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'deptId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'有效' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'isEnabled'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'creatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'createTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'editorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'sysUser', @level2type=N'COLUMN',@level2name=N'editTime'
GO
USE [master]
GO
ALTER DATABASE [winformdevfarme] SET  READ_WRITE 
GO
