using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TEAMModelOS.SDK.Models
{
public class TMDOrder : CosmosEntity
{
public string merchant_id { get; set; }
///
/// 下单时间
///
public long timestamp { get; set; }
public string lang_type { get; set; }
public string order_no { get; set; }
public int amount { get; set; }
public string item_desc { get; set; }
public string buyer_name { get; set; }
public string buyer_tmid { get; set; }
public string buyer_phone { get; set; }
public string buyer_email { get; set; }
public string return_url { get; set; }
public string notify_url { get; set; }
public string ip { get; set; }
public string region { get; set; }
public string school { get; set; }
///
/// 微信支付二维码
///
public string qrcode_url { get; set; }
///
/// 微信支付流水号
///
public string transaction_id { get; set; }
///
/// 0未支付,1支付成功,2支付失败
///
public int status { get; set; }
///
/// 扫码状态 0未连接,1已连接,2已过期 3已扫码支付
///
public int process { get; set; }
public long qrcode_time { get; set; }
///
/// 支付结果文字描述
///
public string msg { get; set; }
///
/// 通知时间
///
public long pay_time { get; set; }
///
/// 微信支付金额
///
public int pay_amount { get; set; }
///
/// 支付方式 tradeType
///
public string pay_type { get; set; }
///
/// 微信支付的openid
///
public string openid { get; set; }
public string client_id { get; set; }
///
/// 发票代码
///
public string? invoiceCode { get; set; }
///
/// 发票号码
///
public string invoiceNum { get; set; }
///
/// 发票文件地址
///
public string invoiceUrl { get; set; }
///
/// 发票开具通知 -1未通知,0 取消,1已发送,未返回状态,2 投递返回失败,3.投递成功
///
public int invoiceNotify { get; set; } = -1;
}
}