ComplianceServer/oldcode/Model/MAP/QH_COMMISSIONRULE.cs

73 lines
2.0 KiB
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.Entity
{
public class QH_COMMISSIONRULE_EXTEND
{
//交易商佣金比率
[NotMapped]
public decimal? customerRate { get; set; }
[NotMapped]
public decimal userEid { get; set; }
[NotMapped]
public QH_COMMISSIONRULE qh_CommissionRule { get; set; }
}
public class QH_COMMISSIONRULE_APPLY_VIEW
{
[NotMapped]
//public string TRADECODE { get; set; }
public string USERACCOUNT { get; set; }
[NotMapped]
public DateTime? THEDATE { get; set; }
[NotMapped]
public decimal? customerRate { get; set; }
[NotMapped]
public decimal? userEid { get; set; }
[NotMapped]
public decimal? mainSalesEid { get; set; }
[NotMapped]
public decimal? MANAGERUSERID { get; set; }
[NotMapped]
public decimal? COMMISSTIONRATIO { get; set; }
[NotMapped]
public DateTime? CTIME { get; set; }
[NotMapped]
public DateTime? VERIFITIME { get; set; }
[NotMapped]
public decimal? STATUS { get; set; }
[NotMapped]
public string statusChar
{
get
{
string tem = "";
if (STATUS.HasValue)
{
switch ((int)this.STATUS)
{
case 1:
tem = "未审核";
break;
case 2:
tem = "已通过";
break;
case 3:
tem = "未通过";
break;
case 4:
tem = "已失效";
break;
}
}
return tem;
}
}
[NotMapped]
public string CategoryName { get; set; }
}
}