using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace SA.Entity.zxdcrm_audit_Models
{
///
///
///
[SugarTable("wx_szzyorder_handgift")]
public class wx_szzyorder_handgift
{
///
/// 订单号
///
[SugarColumn(ColumnName="orderid" ,IsPrimaryKey = true )]
public int orderid { get; set; }
///
/// 父ID
///
[SugarColumn(ColumnName="mainorderid" )]
public int? mainorderid { get; set; }
///
/// 用户名
///
[SugarColumn(ColumnName="softusername" )]
public string softusername { get; set; } ="";
///
///
///
[SugarColumn(ColumnName="resid" )]
public string resid { get; set; } ="";
///
/// 主产品SUBID
///
[SugarColumn(ColumnName="productid" )]
public int productid { get; set; }
///
/// 主产品SUBCODE
///
[SugarColumn(ColumnName="productcode" )]
public string productcode { get; set; } ="";
///
/// 订单状态 :0未开通、1已开通、2审核不通过,3.关闭
///
[SugarColumn(ColumnName="orderstatus" )]
public int orderstatus { get; set; }
///
/// 赠送产品ID
///
[SugarColumn(ColumnName="subproductcode" )]
public string subproductcode { get; set; } ="";
///
/// 赠送产品名称
///
[SugarColumn(ColumnName="subproductname" )]
public string subproductname { get; set; } ="";
///
/// 订单备注
///
[SugarColumn(ColumnName="memo" )]
public string memo { get; set; } ="";
///
/// 创建用户
///
[SugarColumn(ColumnName="createuser" )]
public string createuser { get; set; } ="";
///
/// 创建时间
///
[SugarColumn(ColumnName="ctime" )]
public DateTime ctime { get; set; }
///
/// 渠道号
///
[SugarColumn(ColumnName="channel" )]
public int? channel { get; set; }
///
/// 营业部编码
///
[SugarColumn(ColumnName="companycode" )]
public string companycode { get; set; } ="";
///
/// 赠送天数
///
[SugarColumn(ColumnName="giftdays" )]
public int? giftdays { get; set; }
///
/// 审核人
///
[SugarColumn(ColumnName="openuser" )]
public string openuser { get; set; } ="";
///
/// 审核时间
///
[SugarColumn(ColumnName="optime" )]
public DateTime? optime { get; set; }
///
/// 订单号(CRM系统生成)
///
[SugarColumn(ColumnName="szzyorderid" )]
public long? szzyorderid { get; set; }
///
/// 外部--父订单号(如新媒体二的订单号)
///
[SugarColumn(ColumnName="parentoutorderno" )]
public string parentoutorderno { get; set; } ="";
///
/// 外部--旧的订单号
///
[SugarColumn(ColumnName="oldoutorderno" )]
public string oldoutorderno { get; set; } ="";
///
/// 外部--原订单号关闭权限时间
///
[SugarColumn(ColumnName="outorderclosetime" )]
public DateTime? outorderclosetime { get; set; }
///
/// 外部--用户名称
///
[SugarColumn(ColumnName="userid" )]
public string userid { get; set; } ="";
///
/// 审核备注
///
[SugarColumn(ColumnName="checkmemo" )]
public string checkmemo { get; set; } ="";
///
/// 开通时间
///
[SugarColumn(ColumnName="otime" )]
public DateTime? otime { get; set; }
///
/// 0-单一产品、1-组合产品
///
[SugarColumn(ColumnName="producttype" )]
public int? producttype { get; set; }
///
/// 关闭时间
///
[SugarColumn(ColumnName="closetime" )]
public DateTime? closetime { get; set; }
///
/// 关闭原因
///
[SugarColumn(ColumnName="closememo" )]
public string closememo { get; set; } ="";
///
/// 关闭人
///
[SugarColumn(ColumnName="closeuser" )]
public string closeuser { get; set; } ="";
///
/// 模块ID,多个模块ID用","隔开
///
[SugarColumn(ColumnName="moduleid" )]
public string moduleid { get; set; } ="";
}
}