/*
 Navicat Premium Data Transfer

 Source Server         : DESKTOP-SCT31AM
 Source Server Type    : SQL Server
 Source Server Version : 13001601
 Source Catalog        : WIDESEAWMS_HUAIAN
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 13001601
 File Encoding         : 65001

 Date: 24/12/2024 16:58:52
*/


-- ----------------------------
-- Table structure for Dt_SupplierInfo
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[Dt_SupplierInfo]') AND type IN ('U'))
	DROP TABLE [dbo].[Dt_SupplierInfo]
GO

CREATE TABLE [dbo].[Dt_SupplierInfo] (
  [Id] int  IDENTITY(1,1) NOT NULL,
  [SupplierCode] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [SupplierName] varchar(200) COLLATE Chinese_PRC_CI_AS  NULL,
  [SupplierShortName] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [Contacts] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [ContactNumber] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [ContactAddress] varchar(200) COLLATE Chinese_PRC_CI_AS  NULL,
  [Email] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [Description] varchar(200) COLLATE Chinese_PRC_CI_AS  NULL,
  [InvOrgId] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [Status] int  NOT NULL,
  [Creater] varchar(50) COLLATE Chinese_PRC_CI_AS  NOT NULL,
  [CreateDate] datetime  NOT NULL,
  [Modifier] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [ModifyDate] datetime  NULL
)
GO

ALTER TABLE [dbo].[Dt_SupplierInfo] SET (LOCK_ESCALATION = TABLE)
GO

EXEC sp_addextendedproperty
'MS_Description', N'主键',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Id'
GO

EXEC sp_addextendedproperty
'MS_Description', N'供应商编码',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'SupplierCode'
GO

EXEC sp_addextendedproperty
'MS_Description', N'供应商名称',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'SupplierName'
GO

EXEC sp_addextendedproperty
'MS_Description', N'供应商简称',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'SupplierShortName'
GO

EXEC sp_addextendedproperty
'MS_Description', N'联系人',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Contacts'
GO

EXEC sp_addextendedproperty
'MS_Description', N'联系电话',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'ContactNumber'
GO

EXEC sp_addextendedproperty
'MS_Description', N'联系地址',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'ContactAddress'
GO

EXEC sp_addextendedproperty
'MS_Description', N'电子邮箱',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Email'
GO

EXEC sp_addextendedproperty
'MS_Description', N'描述',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Description'
GO

EXEC sp_addextendedproperty
'MS_Description', N'库存组织',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'InvOrgId'
GO

EXEC sp_addextendedproperty
'MS_Description', N'状态',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Status'
GO

EXEC sp_addextendedproperty
'MS_Description', N'创建者',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Creater'
GO

EXEC sp_addextendedproperty
'MS_Description', N'创建时间',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'CreateDate'
GO

EXEC sp_addextendedproperty
'MS_Description', N'修改人',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'Modifier'
GO

EXEC sp_addextendedproperty
'MS_Description', N'修改日期',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo',
'COLUMN', N'ModifyDate'
GO

EXEC sp_addextendedproperty
'MS_Description', N'供应商信息',
'SCHEMA', N'dbo',
'TABLE', N'Dt_SupplierInfo'
GO


-- ----------------------------
-- Records of Dt_SupplierInfo
-- ----------------------------
SET IDENTITY_INSERT [dbo].[Dt_SupplierInfo] ON
GO

INSERT INTO [dbo].[Dt_SupplierInfo] ([Id], [SupplierCode], [SupplierName], [SupplierShortName], [Contacts], [ContactNumber], [ContactAddress], [Email], [Description], [InvOrgId], [Status], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'1', N'01589', N'广州汉源微电子封装材料有限公司', N'汉源微', N'张雪松', NULL, N'广州市黄埔区科学城南云二路58号', N'tiger.cheung@solderwell.com', NULL, N'淮安特创二厂', N'1', N'', N'2024-12-16 17:23:55.583', NULL, NULL)
GO

INSERT INTO [dbo].[Dt_SupplierInfo] ([Id], [SupplierCode], [SupplierName], [SupplierShortName], [Contacts], [ContactNumber], [ContactAddress], [Email], [Description], [InvOrgId], [Status], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'5', N'50354', N'美瑞安测试', N'美瑞安', N'刘韶华', NULL, N'山东省青岛市崂山区中韩街道科苑纬一路1号青岛国际创新园D1座3003', N'liushh@haier.com', NULL, N'淮安特创二厂', N'1', N'', N'2024-12-16 17:29:55.057', NULL, NULL)
GO

SET IDENTITY_INSERT [dbo].[Dt_SupplierInfo] OFF
GO


-- ----------------------------
-- Auto increment value for Dt_SupplierInfo
-- ----------------------------
DBCC CHECKIDENT ('[dbo].[Dt_SupplierInfo]', RESEED, 5)
GO


-- ----------------------------
-- Primary Key structure for table Dt_SupplierInfo
-- ----------------------------
ALTER TABLE [dbo].[Dt_SupplierInfo] ADD CONSTRAINT [PK_Dt_SupplierInfo_Id] PRIMARY KEY CLUSTERED ([Id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

