26 lines
759 B
C#
26 lines
759 B
C#
using FreeSql.DataAnnotations;
|
|
|
|
namespace Store.Shops.Entities;
|
|
|
|
/// <summary>微信店铺与ERP账号关联;映射旧库,不自动修改数据库结构。</summary>
|
|
[Table(Name = "erp.o_shop")]
|
|
public sealed class ErpShopEntity
|
|
{
|
|
/// <summary>ERP店铺ID。</summary>
|
|
[Column(Name = "id", IsPrimary = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>微信店铺AppId。</summary>
|
|
[Column(Name = "app_key")]
|
|
public string AppKey { get; set; } = "";
|
|
|
|
/// <summary>公司账号ID。</summary>
|
|
[Column(Name = "corporate_account_user_id")]
|
|
public long? CorporateAccountUserId { get; set; }
|
|
|
|
/// <summary>管理账号ID。</summary>
|
|
[Column(Name = "manage_user_id")]
|
|
public long? ManageUserId { get; set; }
|
|
}
|
|
|