新增仓储领域实体、仓储库、WarehouseService 全套接口及数据库迁移脚本; 实现店铺授权、店铺订单服务与库存匹配创建小包单;补充仓储模块 RBAC 权限种子数据。 Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
using Oms.Domain.Shared;
|
|
using SqlSugar;
|
|
|
|
namespace Oms.Domain.OrdersAggregate.Entities;
|
|
|
|
[SugarTable("t_sales_store")]
|
|
public class SalesStore : OmsAuditedAggregateRoot
|
|
{
|
|
public int CustomerId { get; set; }
|
|
|
|
public string PlatformCode { get; set; } = string.Empty;
|
|
|
|
public string StoreNickname { get; set; } = string.Empty;
|
|
|
|
public string? PlatformStoreId { get; set; }
|
|
|
|
public string? PlatformAccount { get; set; }
|
|
|
|
public string? SiteCountry { get; set; }
|
|
|
|
public string? SellerId { get; set; }
|
|
|
|
public string AuthStatus { get; set; } = "active";
|
|
|
|
public DateTime? AuthTime { get; set; }
|
|
|
|
public DateTime? TokenExpireTime { get; set; }
|
|
|
|
public DateTime? RefreshExpireTime { get; set; }
|
|
|
|
public string? AccessToken { get; set; }
|
|
|
|
public string? RefreshToken { get; set; }
|
|
|
|
[SugarColumn(IsJson = true, ColumnDataType = "json", IsNullable = true)]
|
|
public string? TokenExtraJson { get; set; }
|
|
|
|
public bool IsAutoFulfill { get; set; }
|
|
|
|
public string? Remark { get; set; }
|
|
}
|