using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace New_College.Model.ViewModels { public static class PayInfoQuery { /// /// 创建者Ip /// public static string CreateIp { get; set; } /// /// 后端域名 /// public static string ApiUrl { get; set; } } public class WeChatPayQuery { /// /// 用户Id /// public int CustomerId { get; set; } /// /// 卡类型Id /// public int CardTypeId { get; set; } /// /// 金额 /// public decimal Money { get; set; } } public class ViewModelQuery { /// /// 回调地址 /// public string NotifyUrl { get; set; } public string TradeType { get; set; } = "JSAPI"; /// /// 订单号 /// public string OutTradeNo { get; set; } /// /// 金额 /// public decimal TotalFee { get; set; } /// /// 后端IP /// public string SpBillCreateIp { get; set; } /// /// 项目编号 /// public string Body { get; set; } = "六纬志愿VIP"; } public class UniQuery { public int CustomerId { get; set; } public string out_trade_no { get; set; } } }