using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Core.Standard;

namespace XYY.Model.Standard.Channel
{
    public class logistics_ChannelCancel : BaseEntity
    {
        public int Order_OrderId { get; set; }
        public string TrackingNumber { get; set; }
        public string SystemNo { get; set; }
        public string ServiceCode { get; set; }
        public string PublicName { get; set; }
        public string ApiHost { get; set; }
        public string ApiKey { get; set; }
        public string ApiSecret { get; set; }
        public int OperationUserId { get; set; }
        /// <summary>
        ///原始报文
        /// </summary>
        public string OriginalMessage { get; set; }

        public string ResponseCode { get; set; }
        /// <summary>
        /// 请求结果：200成功，404失败，500异常
        /// 自己解析response，填写
        /// </summary>
        public int? ResultState { get; set; }
        /// <summary>
        /// 解析后的Message
        /// </summary>
        public string ResultMessage { get; set; }

    }
    public enum ResultStateEnum
    {
        成功 = 200,
        失败 = 404,
        异常 = 500,
    }
}
