using System.Runtime.Serialization;

using BS.Shared.Core;
using BS.Shared.DataContracts.Compact;

namespace BS.Shared.DataContracts
{
    [DataContract]
    public class ResourceBookingDC : IDataContract
    {
        [DataMember]
        public DateTimeSpan Duration { get; set; }

        [DataMember]
        public CompactEmployeeDC Employee { get; set; }

        [DataMember]
        public bool IsDeleted { get; set; }

        [DataMember]
        public string Notice { get; set; }

        [DataMember]
        public long? ResourceBookingOid { get; set; }

        [DataMember]
        public long? ResourceBookingVersion { get; set; }

        [DataMember]
        public int SequencePosition { get; set; }
    }
}