ALTER TABLE VS4TEmpWorkPeriod ADD
	TWPDPayType smallint NULL,
	TWPDInTime1 datetime NULL,
	TWPDInTimeAddDay1 smallint NULL,
	TWPDInLate1 datetime NULL,
	TWPDInLateAddDay1 smallint NULL,
	TWPDOutTime1 datetime NULL,
	TWPDOutTimeAddDay1 smallint NULL,
	TWPDInTime2 datetime NULL,
	TWPDInTimeAddDay2 smallint NULL,
	TWPDInLate2 datetime NULL,
	TWPDInLateAddDay2 smallint NULL,
	TWPDOutTime2 datetime NULL,
	TWPDOutTimeAddDay2 smallint NULL,
	TWPDInTime3 datetime NULL,
	TWPDInTimeAddDay3 smallint NULL,
	TWPDInLate3 datetime NULL,
	TWPDInLateAddDay3 smallint NULL,
	TWPDOutTime3 datetime NULL,
	TWPDOutTimeAddDay3 smallint NULL,
	TWPDInTime4 datetime NULL,
	TWPDInTimeAddDay4 smallint NULL,
	TWPDInLate4 datetime NULL,
	TWPDInLateAddDay4 smallint NULL,
	TWPDOutTime4 datetime NULL,
	TWPDOutTimeAddDay4 smallint NULL,
	TWPDPayFood smallint NULL,
	TWPDPayFood2 smallint NULL,
	TWPDPayVehicle smallint NULL,
	TWPDPayStamp smallint NULL,
	TWPDPayShift smallint NULL,
	TWPDPayStamp2 smallint NULL,
	TWPDPayStamp3 smallint NULL,
	TWPDType smallint NULL,
	TWPDFromTime datetime NULL,
	TWPDFromTimeAddDay smallint NULL,
	TWPDToTime datetime NULL,
	TWPDToTimeAddDay smallint NULL
GO