using SqlSugar;
using Volo.Abp.Domain.Entities.Auditing;
using Yi.Framework.AiHub.Domain.Shared.Enums;

namespace Yi.Framework.AiHub.Domain.Entities;

/// <summary>
/// 充值表
/// </summary>
[SugarTable("Ai_Recharge")]
public class AiRechargeAggregateRoot : FullAuditedAggregateRoot<Guid>
{
    /// <summary>
    /// 充值金额
    /// </summary>
    public decimal RechargeAmount { get; set; }

    /// <summary>
    /// 用户
    /// </summary>
    public Guid UserId { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 充值内容
    /// </summary>
    public string Content { get; set; }

    /// <summary>
    /// 到期时间
    /// </summary>
    public DateTime? ExpireDateTime { get; set; }

    /// <summary>
    /// 联系方式
    /// </summary>
    public string? ContactInfo { get; set; }

    /// <summary>
    /// 订单类型
    /// </summary>
    public RechargeTypeEnum RechargeType { get; set; }
}