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; }
|
}
|
}
|