zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Operater.DbModel
{
    /// <summary>
    /// 
    /// </summary>
 
    [SugarTable("trade_create_relation")]
    public class TradeCreateRelation
    {
        /// <summary>
        /// 
        /// </summary>
        public TradeCreateRelation()
        {
        }
 
        /// <summary>
        /// 有赞子订单id
        /// </summary>
        [SugarColumn(ColumnName = "yz_oid", IsPrimaryKey = true)]
        public System.String YzOid { get; set; }
 
        /// <summary>
        /// 有赞主订单id
        /// </summary>
        [SugarColumn(ColumnName = "yz_tid")]
        public System.String YzTid { get; set; }
 
        /// <summary>
        /// 1688主订单id
        /// </summary>
        [SugarColumn(ColumnName = "ali_tid")]
        public System.String AliTid { get; set; }
 
        /// <summary>
        /// 1688子订单id
        /// </summary>
        [SugarColumn(ColumnName = "ali_oid")]
        public System.String AliOid { get; set; }
 
        /// <summary>
        /// 任务id
        /// </summary>
        [SugarColumn(ColumnName = "task_id")]
        public System.String TaskId { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "creat_time")]
        public System.DateTime? CreatTime { get; set; }
 
        /// <summary>
        /// 执行时间
        /// </summary>
        [SugarColumn(ColumnName = "run_time")]
        public System.DateTime? RunTime { get; set; }
 
        /// <summary>
        /// 0待执行 1执行中 2执行完成 3执行失败 4忽略不用再创建
        /// </summary>
        [SugarColumn(ColumnName = "run_status")]
        public System.Int32? RunStatus { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "memo")]
        public System.String Memo { get; set; }
 
        /// <summary>
        /// 订单创建的相关数据
        /// </summary>
        [SugarColumn(ColumnName = "create_info")]
        public System.String CreateInfo { get; set; }
 
        /// <summary>
        /// successed(支付成功)、ACCOUNT_BALANCE_NOT_ENOUGH(余额不足)、ACCOUNT_NOT_EXIST(跨境宝2.0场景下可能签约但是在ipay没有开户)、ACCOUNT_FROZEN(账户冻结)、PARAM_ILLEGAL(参数非法)
        /// </summary>
        [SugarColumn(ColumnName = "ali_pay_type")]
        public System.String AliPayType { get; set; }
 
        /// <summary>
        /// 支付发起状态 0未支付,1已发起支付,2支付成功,3支付失败
        /// </summary>
        [SugarColumn(ColumnName = "ali_pay_status")]
        public System.Int32? AliPayStatus { get; set; }
 
        /// <summary>
        /// 支付发起时间
        /// </summary>
        [SugarColumn(ColumnName = "ali_pay_starttime")]
        public System.DateTime? AliPayStarttime { get; set; }
 
        /// <summary>
        /// 支付回执时间
        /// </summary>
        [SugarColumn(ColumnName = "ali_pay_backtime")]
        public System.DateTime? AliPayBacktime { get; set; }
 
        /// <summary>
        /// 1688是否已发货 0否 1是
        /// </summary>
        [SugarColumn(ColumnName = "ali_issendgoods")]
        public System.Int32? AliIssendgoods { get; set; }
 
        /// <summary>
        /// 有赞是否已发货 0否 1是
        /// </summary>
        [SugarColumn(ColumnName = "yz_issendgoods")]
        public System.Int32? YzIssendgoods { get; set; }
 
        /// <summary>
        /// 商品来源 0:精选货源  1:1688
        /// </summary>
        [SugarColumn(ColumnName = "pro_source")]
        public System.Int32 ProSource { get; set; }
    }
}