using System;
using System.Collections.Generic;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 用户收货地址表，存储用户的收货地址信息
/// </summary>
public partial class UserAddress
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 收货人姓名
    /// </summary>
    public string ReceiverName { get; set; } = null!;

    /// <summary>
    /// 收货人电话
    /// </summary>
    public string ReceiverPhone { get; set; } = null!;

    /// <summary>
    /// 详细地址
    /// </summary>
    public string DetailedAddress { get; set; } = null!;

    /// <summary>
    /// 是否默认地址: 0否 1是
    /// </summary>
    public byte? IsDefault { get; set; }

    /// <summary>
    /// 是否删除: 0否 1是
    /// </summary>
    public byte? IsDeleted { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime UpdatedAt { get; set; }
}
