Jangogo :
- CREATE TABLE [deptstaff] (
- [ID] integer identity(1,1) not null,
- [IsGroup] INTEGER not null,
- [NodeID] varchar(50) not null unique,
- [DeptStaffID] varchar(50) not null CONSTRAINT [PK_DeptStaffID] PRIMARY KEY,
- [DeptStaffName] varchar(20) not null,
- [Sex] varchar(4) null,
- [MarriageStatus] varchar(10) null,
- [Birthday] Datetime null,
- [Nationality] varchar(20) null,
- [Political] varchar(30) null,
- [IDCardNo] varchar(20) null,
- [SocialWelfareID] varchar(50) null,
- [RegisteredResidence] varchar(50) null,
- [HomeTown] varchar(30) null,
- [Address] varchar(200) null,
- [ZipCode] varchar(10) null,
- [HomePhoneNo] varchar(30) null,
- [OfficePhoneNo] varchar(30) null,
- [Mobile] varchar(30) null,
- [EMail] varchar(100) null,
- [Antecedent] varchar(20) null,
- [GraduateFrom] varchar(200) null,
- [Subject] varchar(100) null,
- [JobPosition] varchar(30) null,
- [JobTitle] varchar(30) null,
- [WorkLevel] varchar(30) null,
- [ComputerSkill] varchar(30) null,
- [FLangSkill] varchar(30) null,
- [FLang] varchar(30) null,
- [SpecSkill] varchar(50) null,
- [Status] varchar(30) null,
- [JoinDate] Datetime null,
- [WorkAges] INTEGER null,
- [QuitDate] Datetime null,
- [Bank] varchar(30) null,
- [ContractBeginDate] Datetime null,
- [ContractEndDate] Datetime null,
- [BankAccNo] varchar(30) null,
- [SalaryLevel] varchar(30) null,
- [isDelete] INTEGER null,
- [CompanyID] varchar(50) null,
- [poid] varchar(50) null,
- [PrjID] varchar(50) null,
- [StorageID] varchar(50) null,
- [GoodsID] varchar(50) null,
- [fcur] varchar(30) null,
- [acid] varchar(50) null,
- [S1] varchar(20) null,
- [S2] varchar(100) null, --助记码
- [S3] varchar(200) null,
- [D1] datetime NULL,
- [D2] datetime NULL,
- [I1] INTEGER null,
- [I2] INTEGER null,
- [I3] INTEGER null,
- [C1] money NULL,
- [C2] money NULL,
- [C3] money NULL
- );
特殊地:isgroup 不为零 的话,表示是一个部门,否则是具体某个员工
文档中心