using Newtonsoft.Json;
using OfficeOpenXml.Attributes;
using SqlSugar;
using System;
namespace ARW.Model.Vo.Api.Custom.CustomerAddresses
{
///
/// 客户收货地址展示对象Api
///
/// @author admin
/// @date 2023-06-09
///
public class CustomerAddressVoApi
{
///
/// 描述 : id
///
public int CustomerAddressId { get; set; }
///
/// 描述 : guid
///
[JsonConverter(typeof(ValueToStringConverter))]
[EpplusIgnore]
public long CustomerAddressGuid { get; set; }
///
/// 描述 :收货人名称
///
public string Name { get; set; }
///
/// 描述 :收货电话
///
public string PhoneNumber { get; set; }
///
/// 描述 :详细地址
///
public string Address { get; set; }
///
/// 描述 : 是否为默认地址
///
public bool IsDefault { get; set; }
public string ProvinceName { get; set; }
public string CityName { get; set; }
public string DistrictName { get; set; }
public string DetaiaddresslAddress { get; set; }
}
///
/// 客户收货地址详情展示对象Api
///
public class CustomerAddressApiDetailsVo
{
public int CustomerAddressId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long CustomerAddressGuid { get; set; }
///
/// 省名称
///
public string ProvinceName { get; set; }
///
/// 省编码
///
public string ProvinceCode { get; set; }
///
/// 市名称
///
public string CityName { get; set; }
///
/// 市编码
///
public string CityCode { get; set; }
///
/// 区名称
///
public string DistrictName { get; set; }
///
/// 区编码
///
public string DistrictCode { get; set; }
///
/// 收货人名称
///
public string Name { get; set; }
///
/// 收货电话
///
public string Phone { get; set; }
///
/// 详细地址
///
public string DetailAddress { get; set; }
///
/// 是否为默认地址
///
public bool IsDefault { get; set; }
}
}