using System;
using System.Collections.Generic;
using System.Text;
using XYY.Core.Standard;

namespace XYY.Model.Standard.Channel
{
    public class Logistics_Channel : BaseEntity
    {
        public int PublicChanneId
        {
            get; set;
        }

        public string DefaultPhone
        {
            get; set;
        }

        public bool AddStateName
        {
            get; set;
        }

        public bool CanTrackingMore
        {
            get; set;
        }

        public ChannelPickingProcess PickingProcess
        {
            get; set;
        }

        public string LabelUrl
        {
            get; set;
        }

        /// <summary>
        /// 货代公司名称
        /// </summary>
        public string ServiceCompany { get; set; }
        /// <summary>
        /// 实际渠道服务商的渠道名称
        /// </summary>
        public string ServiceChannelName { get; set; }
        /// <summary>
        /// 实际渠道服务商品的渠道代码
        /// </summary>
        public string ServiceChannelCode { get; set; }
        /// <summary>
        /// 我司对外公布的渠道名称
        /// </summary>
        public string PublicName { get; set; }
        /// <summary>
        /// 我司对外公布的渠道代码
        /// </summary>
        public string PublicCode { get; set; }
        /// <summary>
        /// ApiKey
        /// </summary>
        public string ApiKey { get; set; }
        /// <summary>
        /// ApiSecret
        /// </summary>
        public string ApiSecret { get; set; }
        /// <summary>
        /// 实际渠道服务商的api地址
        /// </summary>
        public string ApiHost { get; set; }
        /// <summary>
        /// 最多能发的重量
        /// </summary>
        public int MaxWeight { get; set; }
        /// <summary>
        /// COD支持类型
        /// </summary>
        public int SupportCodType { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
        /// <summary>
        /// 快递跟踪url
        /// </summary>
        public string ServiceTrackingUrl { get; set; }
        /// <summary>
        /// 服务类的命名空间和类名
        /// </summary>
        public string ServiceClass { get; set; }
        /// <summary>
        /// 面单保存目录
        /// </summary>
        public string LableDir { get; set; }
        /// <summary>
        /// 发件人名称
        /// </summary>
        public string SenderName { get; set; }
        /// <summary>
        /// 发件人公司
        /// </summary>
        public string SenderCompany { get; set; }
        /// <summary>
        /// 发件人国家二字代码
        /// </summary>
        public string SenderCountryCode { get; set; }
        /// <summary>
        /// 发件人国家中文名称
        /// </summary>
        public string SenderCountryName { get; set; }
        /// <summary>
        /// 发件人电子邮箱
        /// </summary>
        public string SenderEmail { get; set; }
        /// <summary>
        /// 发件人邮编
        /// </summary>
        public string SenderZipCode { get; set; }
        /// <summary>
        /// 发件人（州/省）
        /// </summary>
        public string SenderState { get; set; }
        /// <summary>
        /// 发件人区
        /// </summary>
        public string SenderCounty
        {
            get; set;
        }
        /// <summary>
        /// 发件人城市
        /// </summary>
        /// 
        public string SenderCity { get; set; }
        /// <summary>
        /// 发件人详细地址(街道)
        /// </summary>
        public string SenderStreet { get; set; }
        /// <summary>
        /// 发件人联系电话
        /// </summary>
        public string SenderPhone { get; set; }

        /// <summary>
        /// 是否可以最后一公里派送
        /// </summary>
        public bool CanLastMile
        {
            get; set;
        }

        /// <summary>
        /// 是否可以头程派送
        /// </summary>
        public bool CanFirstLeg
        {
            get; set;
        }

        /// <summary>
        /// 是否本地转单
        /// </summary>
        public bool IsTransfer
        {
            get; set;
        }

        /// <summary>
        /// 是否二次装箱
        /// </summary>
        public bool IsPick
        {
            get; set;
        }

        /// <summary>
        /// 是否服务商转单
        /// </summary>
        public bool IsServiceTransfer
        {
            get; set;
        }


        public bool PackingByPort
        {
            get; set;
        }

        /// <summary>
        /// 所属仓库
        /// </summary>
        public int RoomId
        {
            get; set;
        }

        /// <summary>
        /// 所属系统ID
        /// </summary>
        public int SystemId
        {
            get;
            set;
        }

        /// <summary>
        /// 渠道商名称
        /// </summary>
        public string SerivceCompanName
        {
            get;
            set;
        }

        /// <summary>
        /// 物流的追踪URL
        /// </summary>
        public string TrackingUrl
        {
            get;
            set;
        }

        public string ReceiveEmails { get; set; }

        public string TrackingMoreCode { get; set; }

        /// <summary>
        /// 是否计泡
        /// </summary>
        public bool IsVolumnWeight { get; set; }

        /// <summary>
        /// 对客户的体积系数
        /// </summary>
        public decimal CustomerVolumnWeightFactor { get; set; }

        /// <summary>
        /// 对服务商的体积系数
        /// </summary>
        public decimal ServiceVolumnWeightFactor { get; set; }

        /// <summary>
        /// 渠道申报规则ID
        /// </summary>
        public int? ChannelDeclareRuleId { get; set; }

        /// <summary>
        /// 代理下单地址
        /// </summary>
        public string AgenUrl
        {
            get; set;
        }

        /// <summary>
        /// 下单服务代码
        /// </summary>
        public string ServiceCode
        {
            get; set;
        }

        public bool CanMPS
        {
            get; set;
        }
    }
}
