Files
2026-03-25 14:55:34 +08:00

55 lines
1.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace StopShopping.Services.Models.Resp;
/// <summary>
/// 收货地址
/// </summary>
public class Address
{
public int Id { get; set; }
/// <summary>
/// 姓名
/// </summary>
/// <value></value>
public string Name { get; set; } = string.Empty;
/// <summary>
/// 联系电话
/// </summary>
/// <value></value>
public string Telephone { get; set; } = string.Empty;
/// <summary>
/// 自定义标签
/// </summary>
/// <value></value>
public string? Tag { get; set; }
/// <summary>
/// 是否默认地址
/// </summary>
/// <value></value>
public bool Default { get; set; }
/// <summary>
/// 区域id表示省/直辖市
/// </summary>
/// <value></value>
public int DistrictLevel1Id { get; set; }
/// <summary>
/// 区域id表示市/直辖市时为空
/// </summary>
/// <value></value>
public int? DistrictLevel2Id { get; set; }
/// <summary>
/// 区域id表示区
/// </summary>
/// <value></value>
public int DistrictLevel3Id { get; set; }
/// <summary>
/// 区域id表示街道/镇
/// </summary>
/// <value></value>
public int DistrictLevel4Id { get; set; }
/// <summary>
/// 详细地址
/// </summary>
/// <value></value>
public string? Detail { get; set; }
}