USE [befri_Goldhoo] GO /****** Object: Table [basedata].[ShopMemberShowPrivilege] Script Date: 2021/7/26 14:11:02 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [basedata].[ShopMemberShowPrivilege]( [ShopMemberId] [int] NOT NULL, [ShowFunctionId] [int] NOT NULL ) ON [PRIMARY] GO ALTER TABLE [basedata].[ShopMemberShowPrivilege] WITH CHECK ADD CONSTRAINT [FK_SHOPMEMB_REFERENCE_SHOPSHOW] FOREIGN KEY([ShowFunctionId]) REFERENCES [basedata].[ShopShowFunction] ([ShowFunctionId]) GO ALTER TABLE [basedata].[ShopMemberShowPrivilege] CHECK CONSTRAINT [FK_SHOPMEMB_REFERENCE_SHOPSHOW] GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'业务员内码' , @level0type=N'SCHEMA',@level0name=N'basedata', @level1type=N'TABLE',@level1name=N'ShopMemberShowPrivilege', @level2type=N'COLUMN',@level2name=N'ShopMemberId' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'展示功能内码' , @level0type=N'SCHEMA',@level0name=N'basedata', @level1type=N'TABLE',@level1name=N'ShopMemberShowPrivilege', @level2type=N'COLUMN',@level2name=N'ShowFunctionId' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'基础数据.业务员展示功能权限' , @level0type=N'SCHEMA',@level0name=N'basedata', @level1type=N'TABLE',@level1name=N'ShopMemberShowPrivilege' GO