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