using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Domain.Repository;
using Hotline.Orders;
using Hotline.Share.Enums.Snapshot;
namespace Hotline.Snapshot;
///
/// 市民红包审核
/// 先生成审核, 再生成红包发放记录
///
[Description("市民红包审核")]
public class RedPackAudit : CreationSoftDeleteEntity
{
///
/// 关联工单编号
/// 表的Id字段
///
[SugarColumn(ColumnDescription = "关联工单编号")]
public string OrderId { get; set; }
///
/// 审核状态
///
[SugarColumn(ColumnDescription = "审核状态")]
public ERedPackAuditStatus Status { get; set; }
///
/// 审批时间
///
[SugarColumn(ColumnDescription = "审批时间")]
public DateTime? AuditTime { get; set; }
///
/// 配置金额(分)
///
[SugarColumn(ColumnDescription = "配置金额(分)")]
public int ShouldAmount { get; set; }
///
/// 审批金额(分)
///
[SugarColumn(ColumnDescription = "审批金额(分)")]
public int? ApprovedAmount { get; set; }
///
/// 实发金额(分)
///
[SugarColumn(ColumnDescription = "实发金额(分)")]
public int? AcutalAmount { get; set; }
///
/// 市民奖励发放结果
///
[SugarColumn(ColumnDescription = "市民奖励发放结果")]
public bool IsSend { get; set; }
///
/// 市民奖励发放备注
///
[SugarColumn(ColumnDescription = "市民奖励发放备注")]
public string? SendRemarks { get; set; }
///
/// 操作人
///
[SugarColumn(ColumnDescription = "操作人")]
public string? AuditId { get; set; }
///
/// 操作人
///
[SugarColumn(ColumnDescription = "操作人")]
public string? AuditName { get; set; }
///
/// 审批部门
///
[SugarColumn(ColumnDescription = "审批部门")]
public string? AuditOrgId { get; set; }
///
/// 审批部门名称
///
[SugarColumn(ColumnDescription = "审批部门名称")]
public string? AuditOrgName { get; set; }
///
/// 审批意见
///
[SugarColumn(ColumnDescription = "审批意见")]
public string? AuditRemark { get; set; }
public string? Remark { get; set; }
}