using System.Collections.Generic;
using System.Runtime.Serialization;

namespace BS.Shared.DataContracts
{
    [DataContract]
    public class BeWoFolderDC : IDataContract
    {
        [DataMember]
        public long? BeWoFolderOid { get; set; }

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

        [DataMember]
        public List<FileAttachmentDC> Files { get; set; }

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

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

        [DataMember]
        public TableID ObjectTid { get; set; }

        [DataMember]
        public List<BeWoFolderDC> SubFolders { get; set; }

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