using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace New_College.Model.ViewModels
{
    public static class PayInfoQuery
    {
        /// <summary>
        /// 创建者Ip
        /// </summary>
        public static string CreateIp { get; set; }

        /// <summary>
        /// 后端域名
        /// </summary>
        public static string ApiUrl { get; set; }
    }

    public class WeChatPayQuery
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int CustomerId { get; set; }

        /// <summary>
        /// 卡类型Id
        /// </summary>
        public int CardTypeId { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Money { get; set; }
    }

    public class ViewModelQuery
    {
        /// <summary>
        /// 回调地址
        /// </summary>
        public string NotifyUrl { get; set; }

        public string TradeType { get; set; } = "JSAPI";

        /// <summary>
        /// 订单号
        /// </summary>
        public string OutTradeNo { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal TotalFee { get; set; }

        /// <summary>
        /// 后端IP
        /// </summary>
        public string SpBillCreateIp { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string Body { get; set; } = "壹志愿VIP";
    }



    public class UniQuery
    {
        public int CustomerId { get; set; }

        public string out_trade_no { get; set; }
    }
}
