namespace Atomx.Admin.Client.Models
{
    public class AddressModel
    {
        /// <summary>
        /// 数据ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 添加地址用户
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 收件人姓名
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 邮件地址
        /// </summary>
        public string Email { get; set; } = string.Empty;

        /// <summary>
        /// 电话号码
        /// </summary>
        public string Phone { get; set; } = string.Empty;

        /// <summary>
        /// 公司
        /// </summary>
        public string Company { get; set; } = string.Empty;

        /// <summary>
        /// 国家
        /// </summary>
        public long Country { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        public long Province { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public long City { get; set; }

        /// <summary>
        /// 地区
        /// </summary>
        public long Region { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string PostalCode { get; set; } = string.Empty;

        /// <summary>
        /// 详细地址
        /// </summary>
        public string FullAddress { get; set; } = string.Empty;

        /// <summary>
        /// 地址所在经度
        /// </summary>
        public decimal Longitude { get; set; }

        /// <summary>
        /// 地址所在纬度
        /// </summary>
        public decimal Latitude { get; set; }

        /// <summary>
        /// 是否是虚拟地址
        /// </summary>
        public bool IsVirtual { get; set; }

        /// <summary>
        /// 是否编辑
        /// </summary>
        public bool IsEdit { get; set; }
    }
}
