heyuntao
2023-05-05 cc09b6fe6ffac34a4eeeb26d313b187713cae0de
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
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Text;
 
namespace Operater.DbModel
{
    /// <summary>
    /// 会员账单
    ///</summary>
    [SugarTable("bill_record")]
    public class BillRecord
    {
        /// <summary>
        /// 1 
        ///</summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 金额 
        ///</summary>
        [SugarColumn(ColumnName = "amount")]
        public decimal? amount { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
        [SugarColumn(ColumnName = "createtime")]
        public DateTime? createtime { get; set; }
        /// <summary>
        /// 0:购物返利,1:分佣返利,2:提现 
        ///</summary>
        [SugarColumn(ColumnName = "stype")]
        public int? stype { get; set; }
        /// <summary>
        /// 会员ID 
        ///</summary>
        [SugarColumn(ColumnName = "memberid")]
        public long? memberid { get; set; }
        /// <summary>
        /// 交易号:当类型是0或者1时为交易订单号,2时为转账流水号 
        ///</summary>
        [SugarColumn(ColumnName = "tid")]
        public int? tid { get; set; }
 
        /// <summary>
        /// 平台:tb:淘宝 jd:京东 pdd:拼多多 dy:抖音
        ///</summary>
        [SugarColumn(ColumnName = "platfrom")]
        public string platfrom { get; set; }
    }
}