using FreeSql.DataAnnotations;
namespace Store.Shops.Entities;
/// 订单解密地址;映射旧库,不自动修改数据库结构。
[Table(Name = "wxxd.order_decrypt_address")]
public sealed class OrderAddressEntity
{
/// 记录ID。
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
public int Id { get; set; }
/// 店铺ID。
[Column(Name = "shop_id")]
public string ShopId { get; set; } = "";
/// 订单ID。
[Column(Name = "order_id")]
public string OrderId { get; set; } = "";
/// 解密后的地址内容。
[Column(Name = "order_address")]
public string OrderAddress { get; set; } = "";
/// 创建时间。
[Column(Name = "add_time")]
public DateTime AddTime { get; set; }
/// 修改时间。
[Column(Name = "mdy_time")]
public DateTime MdyTime { get; set; }
}