ComplianceServer/oldcode/Core.Model/EntityAudit/WX_SZZYORDER.cs

233 lines
6.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
/// <summary>
/// 订单状态新订单180、已支付200、已开通220、已停用/已退款90、已过期80、已取消70去掉"已支付200、暂缓开通210"状态
/// </summary>
[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; }
/// <summary>
/// 订单原价
/// </summary>
public decimal? ORIGINPAY { get; set; }
/// <summary>
/// 剩余金额
/// </summary>
public decimal? BALANCEPAY { get; set; }
[StringLength(50)]
public string ORDERSTATUSNAME { get; set; }
public DateTime? OPERATETIME { get; set; }
/// <summary>
/// 订单暂停结束时间
/// </summary>
[StringLength(50)]
public string STIME { get; set; }
/// <summary>
/// 订单暂停结束时间
/// </summary>
[StringLength(50)]
public string ETIME { get; set; }
/// <summary>
/// 订单暂停权限备注说明
/// </summary>
[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; }
/// <summary>
/// 是否支付0未支付1已经支付
/// </summary>
public int ISPAYED { get; set; }
/// <summary>
/// 支付类型。1支付宝2财富通3银行转账4网银支付5微信支付6支付宝银联11:苹果支付12华为支付
/// </summary>
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; }
/// <summary>
/// 合同状态
/// </summary>
public int contractstatus { get; set; }
/// <summary>
/// 合同签订时间
/// </summary>
public DateTime? contractctime { get; set; }
/// <summary>
/// 是否开通企业微信0未开通1已开通
/// </summary>
public int? qywxstatus { get; set; }
/// <summary>
/// 开通企业微信时间
/// </summary>
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; }
/// <summary>
/// 预计开通时间
/// </summary>
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; }
}
}