customer 客户表
id----客供应商编号,文本
name-----供应商名称
regionId---地区id
regionName---地区名称
SupplierTypeId--供应商类型id
SupplierTypeName--供应商类型名称
contactsName---联系人
contactsPhone---联系电话
Fax----传真
MnemonicCode--助记码
mailMBox--电子邮箱
address----地址
Remarks---备注
ProjectCode---项目标号,框架必备
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Supplier](
[id] [varchar](250) NOT NULL,
[name] [varchar](250) NULL,
[SupplierTypeId] [varchar](250) NULL,
[SupplierTypeName] [varchar](250) NULL,
[regionId] [varchar](250) NULL,
[regionName] [varchar](250) NULL,
[contactsName] [varchar](250) NULL,
[contactsPhone] [varchar](250) NULL,
[Fax] [varchar](250) NULL,
[MnemonicCode] [varchar](250) NULL,
[mailBox] [varchar](250) NULL,
[postalCode] [varchar](250) NULL,
[address] [varchar](250) NULL,
[Remarks] [varchar](250) NULL,
[ProjectCode] [varchar](250) NULL,
CONSTRAINT [PK_Supplier] 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
来源:https://blog.csdn.net/z22489580/article/details/100133721