using SnapshotWinFormsApp.Entities.NewHotline;
using SnapshotWinFormsApp.Repository.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hotline.Snapshot;
///
/// 市民红包审核
/// 先生成审核, 再生成红包发放记录
///
[Description("市民红包审核")]
[SugarTable("red_pack_audit")]
public class RedPackAudit : CreationSoftDeleteEntity
{
///
/// 关联工单编号
/// 表的Id字段
///
[SugarColumn(ColumnDescription = "关联工单编号")]
public string OrderId { get; set; }
///
/// 领取手机号码
///
[SugarColumn(ColumnDescription = "领取红包手机号码")]
public string? PhoneNumber { get; set; }
///
/// 审核状态
///
[SugarColumn(ColumnDescription = "审核状态")]
public ERedPackAuditStatus Status { get; set; }
///
/// 审批时间
///
[SugarColumn(ColumnDescription = "审批时间")]
public DateTime? AuditTime { get; set; }
///
/// 配置金额
///
[SugarColumn(ColumnDescription = "配置金额")]
public double ShouldAmount { get; set; }
///
/// 审批金额
///
[SugarColumn(ColumnDescription = "审批金额")]
public double? ApprovedAmount { get; set; }
///
/// 实发金额
///
[SugarColumn(ColumnDescription = "实发金额")]
public double? 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; }
///
/// 短信Id
///
[SugarColumn(ColumnDescription = "短信Id")]
public string? SMSTemplateId { get; set; }
///
/// 是否发送短信
///
[SugarColumn(ColumnDescription = "是否发送短信")]
public bool? IsSendSMS { get; set; }
#region 积分
///
/// 积分审核状态
///
[SugarColumn(ColumnDescription = "积分审核状态")]
public ESnapshotSMSStatus? PointsStatus { get; set; }
///
/// 积分
///
[SugarColumn(ColumnDescription = "积分")]
public int? Points { get; set; }
///
/// 额外扣除积分类型
///
[SugarColumn(ColumnDescription = "额外扣除积分类型")]
public string? ExtraDeductionPointsTypeId { get; set; }
[SugarColumn(ColumnDescription = "额外扣除积分类型")]
public string? ExtraDeductionPointsTypeName { get; set; }
///
/// 额外扣除积分
///
[SugarColumn(ColumnDescription = "额外扣除积分")]
public int? ExtraDeductedPoints { get; set; }
///
/// 积分审核意见
///
[SugarColumn(ColumnDescription = "积分审核意见")]
public string? PointsOpinion { get; set; }
#endregion
}