增加Shop API
This commit is contained in:
1 parent
3769193696
commit
5d017740c6
83 files changed
+4451
-696
No files matched your search
@@ -0,0 +1,53 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace Store.Shops.Entities;
|
||||
|
||||
/// <summary>用户店铺默认售后地址;映射旧库,不自动修改数据库结构。</summary>
|
||||
[Table(Name = "wxxd.wx_shop_default_address")]
|
||||
public sealed class DefaultAddressEntity
|
||||
{
|
||||
/// <summary>记录ID。</summary>
|
||||
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>软件账号。</summary>
|
||||
[Column(Name = "user_id")]
|
||||
public string UserId { get; set; } = "";
|
||||
|
||||
/// <summary>店铺ID。</summary>
|
||||
[Column(Name = "shop_id")]
|
||||
public string ShopId { get; set; } = "";
|
||||
|
||||
/// <summary>省份。</summary>
|
||||
[Column(Name = "province_name")]
|
||||
public string ProvinceName { get; set; } = "";
|
||||
|
||||
/// <summary>城市。</summary>
|
||||
[Column(Name = "city_name")]
|
||||
public string CityName { get; set; } = "";
|
||||
|
||||
/// <summary>区县。</summary>
|
||||
[Column(Name = "county_name")]
|
||||
public string CountyName { get; set; } = "";
|
||||
|
||||
/// <summary>详细地址。</summary>
|
||||
[Column(Name = "detail_info")]
|
||||
public string DetailInfo { get; set; } = "";
|
||||
|
||||
/// <summary>收件人电话。</summary>
|
||||
[Column(Name = "tel_number")]
|
||||
public string TelNumber { get; set; } = "";
|
||||
|
||||
/// <summary>收件人姓名。</summary>
|
||||
[Column(Name = "user_name")]
|
||||
public string Receiver { get; set; } = "";
|
||||
|
||||
/// <summary>创建时间。</summary>
|
||||
[Column(Name = "add_time")]
|
||||
public DateTime AddTime { get; set; }
|
||||
|
||||
/// <summary>修改时间。</summary>
|
||||
[Column(Name = "mdy_time")]
|
||||
public DateTime MdyTime { get; set; }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user