using System; using System.Collections.Generic; using System.Text; using VT.FW.DB; namespace Edu.Model.Entity.Customer { /// /// 客户幸福存折和返佣实体类 /// [Serializable] [DB(ConnectionName = "DefaultConnection")] public class RB_Customer_BalanceDetail { /// /// 客户幸福存折明细id /// public int Id { get; set; } /// /// 返佣类型(1-直接返佣[首次报名],2-幸福存折[续费]) /// public int RebateType { get; set; } /// /// 客户Id /// public int CustomerId { get; set; } /// /// 订单编号 /// public int OrderId { get; set; } /// /// 来源类型 /// public int OrderSource { get; set; } /// /// 类型 1存入 2扣除 /// public int BalanceType { get; set; } /// /// 变更金额 /// public decimal Money { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// 发生时间 /// public DateTime UpdateTime { get; set; } /// /// 账户余额 /// public decimal AccountMoney { get; set; } /// /// 报名人数 /// public int PeopleNum { get; set; } /// /// 销售编号 /// public int EmployeeId { get; set; } /// /// 集团编号 /// public int Group_Id { get; set; } /// /// 校区编号 /// public int School_Id { get; set; } /// /// 班级编号 /// public int ClassId { get; set; } /// /// 状态 1已返佣 2待返佣 3部分返佣 /// public int BalanceState { get; set; } /// /// 是否已提现 1是 2否 /// public int IsRemit { get; set; } /// /// 已发放金额( 根据订单返佣设置 按课耗 / 付款后发放) /// public decimal GiveOutMoney { get; set; } } }