using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hg.Core.Entity
{
[Table("WX_SZZYORDER")]
public partial class WX_SZZYORDER
{
[Key]
public int 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 int? ORDERTYPE { get; set; }
[StringLength(500)]
public string? UPGRADEORDERIDS { get; set; }
public int? TOTALUPGRADEVALUE { get; set; }
public decimal? NEEDPAY { get; set; }
public int? OPENORDER { get; set; }
public long? SZZYORDERID { get; set; }
///
/// 订单状态:新订单180、已支付200、已开通220、已停用/已退款90、已过期80、已取消70,去掉"已支付200、暂缓开通210"状态
///
[StringLength(100)]
public string? ORDERSTATUS { get; set; }
public DateTime? CTIME { get; set; }
public int? RETURNNEEDPAY { get; set; }
[StringLength(50)]
public string? CONTRACTCODE { get; set; }
public int? RET { get; set; }
public int? RETP { get; set; }
[StringLength(250)]
public string? MSG { get; set; }
[StringLength(1000)]
public string? RETURNDETAIL { get; set; }
public int? INNERUSERID { get; set; }
public DateTime? OTIME { get; set; }
public DateTime? ENDTIME { get; set; }
[StringLength(18)]
public string? RESID { get; set; }
public int? REQUESTSTATUS { get; set; }
public int? 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 int? ISOPEN { get; set; }
public int? 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 int? OPENDAYS { get; set; }
[StringLength(2000)]
public string? CUSTOMERCLASSIFY { get; set; }
public int? 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 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; }
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 string? ai_hgrecord_stime { get; set; }
///
/// 回访结束时间
///
public string? ai_hgrecord_etime { get; set; }
///
/// 智能外呼状态
///
public int? ai_hgrecord_status { get; set; }
///
/// 智能外呼状态名称
///
public string? ai_hgrecord_statusname { get; set; }
///
/// 是否有外呼录音
///
public int? hasaiaudio { get; set; }
public int? adequacy { get; set; }
///
/// 合同状态
///
[Column("contract_status")]
public int? ContractStatus { get; set; }
public int Contractstatus { get; set; }
///
/// 合同审核备注
///
[Column("contract_remark")]
public string? ContractRemark { get; set; }
public int? deptid { get; set; }
public string? deptname { get; set; }
public string? RefundIdCardRemark { get; set; }
public int? RefundIdCardStatus { get; set; }
}
}