using TakeoutSaaS.Domain.Coupons.Enums;
using TakeoutSaaS.Shared.Abstractions.Entities;
namespace TakeoutSaaS.Domain.Coupons.Entities;
///
/// 新客有礼门店配置。
///
public sealed class NewCustomerGiftSetting : MultiTenantEntityBase
{
///
/// 门店 ID。
///
public long StoreId { get; set; }
///
/// 是否开启新客礼包。
///
public bool GiftEnabled { get; set; }
///
/// 礼包类型。
///
public NewCustomerGiftType GiftType { get; set; } = NewCustomerGiftType.Coupon;
///
/// 首单直减金额。
///
public decimal? DirectReduceAmount { get; set; }
///
/// 首单直减门槛金额。
///
public decimal? DirectMinimumSpend { get; set; }
///
/// 是否开启老带新分享。
///
public bool InviteEnabled { get; set; }
///
/// 分享渠道(JSON)。
///
public string ShareChannelsJson { get; set; } = "[]";
}