feat: migrate snowflake ids and refresh migrations

This commit is contained in:
2025-12-02 09:04:37 +08:00
parent 462e15abbb
commit 148475fa43
174 changed files with 8020 additions and 34278 deletions

View File

@@ -11,7 +11,7 @@ public sealed class Coupon : MultiTenantEntityBase
/// <summary>
/// 模板标识。
/// </summary>
public Guid CouponTemplateId { get; set; }
public long CouponTemplateId { get; set; }
/// <summary>
/// 券码或序列号。
@@ -21,12 +21,12 @@ public sealed class Coupon : MultiTenantEntityBase
/// <summary>
/// 归属用户。
/// </summary>
public Guid UserId { get; set; }
public long UserId { get; set; }
/// <summary>
/// 订单 ID已使用时记录
/// </summary>
public Guid? OrderId { get; set; }
public long? OrderId { get; set; }
/// <summary>
/// 状态。