using System.IO;
using System.ServiceModel;

namespace BeWo.Service.MessageContracts
{
    [MessageContract]
    public class UpdatePackage
    {
        [MessageHeader]
        public string FileName;

        [MessageHeader]
        public string Notice;

        [MessageHeader]
        public long ObjectOid;

        [MessageBodyMember]
        public Stream Stream;

        [MessageHeader]
        public int TableID;

        [MessageHeader]
        public long? BeWoFolderOid;

        [MessageHeader]
        public long FileOid;

        [MessageHeader]
        public int FileAttachmentTypeId;
    }
}
