using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CRM.Core.Model.EntityAudit
{
[Table("WX_SZZYORDER")]
public partial class WX_SZZYORDER
{
[Key]
public decimal ORDERID { get; set; }
[StringLength(50)]
public string EMPLOYEEID { get; set; }
[StringLength(50)]
public string PASSWORD { get; set; }
[StringLength(100)]
public string USERID { get; set; }
public int? PRODUCTID { get; set; }
[StringLength(50)]
public string PRODUCTNAME { get; set; }
public int SUBPRODUCTID { get; set; }
[StringLength(50)]
public string SUBPRODUCTNAME { get; set; }
public decimal? ORDERTYPE { get; set; }
[StringLength(500)]
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"状态
///
[StringLength(100)]
public string ORDERSTATUS { get; set; }
public DateTime? CTIME { get; set; }
public decimal? RETURNNEEDPAY { get; set; }
[StringLength(50)]
public string CONTRACTCODE { get; set; }
public decimal? RET { get; set; }
public decimal? RETP { get; set; }
[StringLength(250)]
public string MSG { get; set; }
[StringLength(1000)]
public string RETURNDETAIL { get; set; }
public decimal? INNERUSERID { get; set; }
public DateTime? OTIME { get; set; }
public DateTime? ENDTIME { get; set; }
[StringLength(18)]
public string RESID { get; set; }
public decimal? REQUESTSTATUS { get; set; }
public decimal? ISFINANCEPAY { get; set; }
public DateTime? FINACEPAYDATE { get; set; }
[StringLength(2000)]
public string REMARK { get; set; }
public decimal? FINALPAY { get; set; }
///
/// 订单原价
///
public decimal? ORIGINPAY { get; set; }
///
/// 剩余金额
///
public decimal? BALANCEPAY { get; set; }
[StringLength(50)]
public string ORDERSTATUSNAME { get; set; }
public DateTime? OPERATETIME { get; set; }
///
/// 订单暂停结束时间
///
[StringLength(50)]
public string STIME { get; set; }
///
/// 订单暂停结束时间
///
[StringLength(50)]
public string ETIME { get; set; }
///
/// 订单暂停权限备注说明
///
[StringLength(2000)]
public string SUSPENDCOMMENT { get; set; }
public DateTime? UPDATEORDERTIME { get; set; }
public decimal? ISOPEN { get; set; }
public decimal? TEAMSERVE { get; set; }
[StringLength(200)]
public string FCTEXT { get; set; }
[StringLength(200)]
public string CUSTOMERUSERNAME { get; set; }
public decimal? ARRIVALPAY { get; set; }
public DateTime? ARRIVALTIME { get; set; }
[StringLength(20)]
public string SOURCE { get; set; }
[StringLength(30)]
public string CNAME { get; set; }
public decimal? OPENDAYS { get; set; }
[StringLength(2000)]
public string CUSTOMERCLASSIFY { get; set; }
public decimal? SALEDEPTID { get; set; }
[StringLength(100)]
public string SOFTUSERNAME { get; set; }
[StringLength(100)]
public string APPUSERNAME { get; set; }
//[StringLength(50)]
public int CHANNEL { get; set; }
public int BOOKNUM { get; set; }
[StringLength(50)]
public string OPENUSER { get; set; }
///
/// 是否支付,0:未支付,1:已经支付
///
public int ISPAYED { get; set; }
///
/// 支付类型。1:支付宝,2:财富通,3:银行转账,4:网银支付,5:微信支付,6:支付宝银联,11:苹果支付,12:华为支付
///
public int PAYTYPE { get; set; }
public string PRODUCTCODE { get; set; }
public string BIGPRODUCTCODE { get; set; }
public int RISKCTRLSTATUS { 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 int? giftdays { get; set; }
public string rejectremark { get; set; }
public int? giftdays2 { get; set; }
[NotMapped]
public string mb { get; set; } //手机号,线上订单推送到线下需要
public string external_userid { get; set; }
public string wework_remoteid { get; set; }
[NotMapped]
public int? eid { get; set; }
public int? SettleType { get; set; }
public string fujian { get; set; }
public string wXShopOrderNo { get; set; }
public string deptcode { get; set; }
///
/// 预计开通时间
///
public DateTime? estimateotime { get; set; }
}
public class ActiveProduct
{
public string ActiveProductCode { get; set; }
public string ActiveProductName { get; set; }
public string DonateDay { get; set; }
public long SzzyOrderId { get; set; }
}
}