using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace Operater.DbModel { /// /// /// [SugarTable("trade_create_relation")] public class TradeCreateRelation { /// /// /// public TradeCreateRelation() { } /// /// 有赞子订单id /// [SugarColumn(ColumnName = "yz_oid", IsPrimaryKey = true)] public System.String YzOid { get; set; } /// /// 有赞主订单id /// [SugarColumn(ColumnName = "yz_tid")] public System.String YzTid { get; set; } /// /// 1688主订单id /// [SugarColumn(ColumnName = "ali_tid")] public System.String AliTid { get; set; } /// /// 1688子订单id /// [SugarColumn(ColumnName = "ali_oid")] public System.String AliOid { get; set; } /// /// 任务id /// [SugarColumn(ColumnName = "task_id")] public System.String TaskId { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "creat_time")] public System.DateTime? CreatTime { get; set; } /// /// 执行时间 /// [SugarColumn(ColumnName = "run_time")] public System.DateTime? RunTime { get; set; } /// /// 0待执行 1执行中 2执行完成 3执行失败 4忽略不用再创建 /// [SugarColumn(ColumnName = "run_status")] public System.Int32? RunStatus { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "memo")] public System.String Memo { get; set; } /// /// 订单创建的相关数据 /// [SugarColumn(ColumnName = "create_info")] public System.String CreateInfo { get; set; } /// /// successed(支付成功)、ACCOUNT_BALANCE_NOT_ENOUGH(余额不足)、ACCOUNT_NOT_EXIST(跨境宝2.0场景下可能签约但是在ipay没有开户)、ACCOUNT_FROZEN(账户冻结)、PARAM_ILLEGAL(参数非法) /// [SugarColumn(ColumnName = "ali_pay_type")] public System.String AliPayType { get; set; } /// /// 支付发起状态 0未支付,1已发起支付,2支付成功,3支付失败 /// [SugarColumn(ColumnName = "ali_pay_status")] public System.Int32? AliPayStatus { get; set; } /// /// 支付发起时间 /// [SugarColumn(ColumnName = "ali_pay_starttime")] public System.DateTime? AliPayStarttime { get; set; } /// /// 支付回执时间 /// [SugarColumn(ColumnName = "ali_pay_backtime")] public System.DateTime? AliPayBacktime { get; set; } /// /// 1688是否已发货 0否 1是 /// [SugarColumn(ColumnName = "ali_issendgoods")] public System.Int32? AliIssendgoods { get; set; } /// /// 有赞是否已发货 0否 1是 /// [SugarColumn(ColumnName = "yz_issendgoods")] public System.Int32? YzIssendgoods { get; set; } /// /// 商品来源 0:精选货源 1:1688 /// [SugarColumn(ColumnName = "pro_source")] public System.Int32 ProSource { get; set; } } }