using System;
using System.Collections.Generic;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 商品扩展配置表，存储商品的支付方式配置
/// </summary>
public partial class GoodsExtension
{
    /// <summary>
    /// 扩展ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 商品ID
    /// </summary>
    public int GoodsId { get; set; }

    /// <summary>
    /// 是否支持微信支付 0-否 1-是
    /// </summary>
    public byte PayWechat { get; set; }

    /// <summary>
    /// 是否支持余额支付 0-否 1-是
    /// </summary>
    public byte PayBalance { get; set; }

    /// <summary>
    /// 是否支持积分支付 0-否 1-是
    /// </summary>
    public byte PayCurrency { get; set; }

    /// <summary>
    /// 是否支持积分2支付 0-否 1-是
    /// </summary>
    public byte PayCurrency2 { get; set; }

    /// <summary>
    /// 是否支持优惠券 0-否 1-是
    /// </summary>
    public byte PayCoupon { get; set; }

    /// <summary>
    /// 是否支持抵扣 0-否 1-是
    /// </summary>
    public byte IsDeduction { get; set; }
}
