using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.Entity
{
[Table("UPDEV.WX_ALLOPENORDER")]
public class WX_ALLOPENORDER
{
[Key]
public decimal ORDERID { get; set; }
public string EMPLOYEEID { get; set; }
public string PASSWORD { get; set; }
public string USERID { get; set; }
public decimal? PRODUCTID { get; set; }
public string PRODUCTNAME { get; set; }
public decimal? SUBPRODUCTID { get; set; }
public string SUBPRODUCTNAME { get; set; }
public decimal? ORDERTYPE { get; set; }
public string UPGRADEORDERIDS { get; set; }
public decimal? TOTALUPGRADEVALUE { get; set; }
public decimal? NEEDPAY { get; set; }
public decimal? OPENORDER { get; set; }
public decimal? SZZYORDERID { get; set; }
///
/// 订单状态:新订单180、已支付200、已开通220、已停用/已退款90、已过期80、已取消70,去掉"已支付200、暂缓开通210"状态
///
public string ORDERSTATUS { get; set; }
public DateTime? CTIME { get; set; }
public decimal? RETURNNEEDPAY { get; set; }
public string CONTRACTCODE { get; set; }
public decimal? RET { get; set; }
public string MSG { get; set; }
public string RETURNDETAIL { get; set; }
public decimal? INNERUSERID { get; set; }
public DateTime? OTIME { get; set; }
public string RESID { get; set; }
public decimal? REQUESTSTATUS { get; set; }
public decimal? ISFINANCEPAY { get; set; }
public DateTime? FINACEPAYDATE { get; set; }
public string REMARK { get; set; }
public decimal? FINALPAY { get; set; }
public string ORDERSTATUSNAME { get; set; }
public DateTime? OPERATETIME { get; set; }
///
/// 订单暂停结束时间
///
public string STIME { get; set; }
///
/// 订单暂停结束时间
///
public string ETIME { get; set; }
///
/// 订单暂停权限备注说明
///
public string SUSPENDCOMMENT { get; set; }
public DateTime? UPDATEORDERTIME { get; set; }
public decimal? ISOPEN { get; set; }
public DateTime? ENDTIME { get; set; }
public decimal? TEAMSERVE { get; set; }
public string FCTEXT { get; set; }
public string CUSTOMERUSERNAME { get; set; }
public decimal? ARRIVALPAY { get; set; }
public DateTime? ARRIVALTIME { get; set; }
public string SOURCE { get; set; }
public string CNAME { get; set; }
public decimal? OPENDAYS { get; set; }
public string CUSTOMERCLASSIFY { get; set; }
public decimal? SALEDEPTID { get; set; }
public string SOFTUSERNAME { get; set; }
public string CHANNEL { get; set; }
public int BOOKNUM { get; set; }
public string OPENUSER { get; set; }
public string PRODUCTCODE { get; set; }
public string BIGPRODUCTCODE { get; set; }
///
/// 是否支付,0:未支付,1:已经支付
///
public int ISPAYED { get; set; }
///
/// 支付类型。1:支付宝,2:财富通,3:银行转账,4:网银支付,5:微信支付,6:支付宝银联
///
public int PAYTYPE { get; set; }
public string USERNAME { get; set; }
public string SIP { get; set; }
public int RISKCTRLSTATUS { get; set; }
public string APPUSERNAME { get; set; }
public string COMPANYCODE { get; set; }
///
/// 合同状态
///
public int CONTRACTSTATUS { get; set; }
///
/// 合同签订时间
///
public DateTime? CONTRACTCTIME { get; set; }
///
/// 是否开通企业微信(0:未开通,1:已开通)
///
public int? QYWXSTATUS { get; set; }
///
/// 开通企业微信时间
///
public DateTime? QYWXOPENDATE { get; set; }
public string ACTIVEPRODUCTCODE { get; set; }
public string ACTIVEPRODUCTEXT { get; set; }
public int? ISTEST { get; set; }
public int? HASHGRECORD { get; set; }
public string IDCARD { get; set; }
public string OUTORDERNO { get; set; }
public DateTime? UTIME { get; set; }
public decimal? GIFTDAYS { get; set; }
public string REJECTREMARK { get; set; }
public decimal? GIFTDAYS2 { get; set; }
}
}