﻿CREATE TABLE [dbo].[mfr__d_timeevents] (
    [Id]                      BIGINT         NULL,
    [Version]                 INT            NULL,
    [State]                   NVARCHAR (255) NULL,
    [IsApproved]              BIT            NULL,
    [TimeEventType]           NVARCHAR (255) NULL,
    [ExternalId]              NVARCHAR (255) NULL,
    [DateModified]            DATETIME       NULL,
    [StartDateTime]           DATETIME       NULL,
    [EndDateTime]             DATETIME       NULL,
    [ProposedDrivingDistance] INT            NULL,
    [ContactId]               BIGINT         NULL,
    [ServiceRequestId]        BIGINT         NULL,
    [Description]             NVARCHAR (MAX) NULL,
    [DateDeleted]             DATETIME       NULL
);

