using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace SA.Entity.zxdcrm_Models
{
///
///
///
[SugarTable("module_order")]
public partial class ModuleOrder
{
public ModuleOrder(){
}
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
public int Id {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="username")]
public string? Username {get;set;}
///
/// Desc:
/// Default:0
/// Nullable:False
///
[SugarColumn(ColumnName="moduleid")]
public string Moduleid {get;set;}
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName="szzyorderid")]
public string Szzyorderid {get;set;}
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName="productcode2")]
public string Productcode2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="starttime2")]
public DateTime? Starttime2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="endtime2")]
public DateTime? Endtime2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="usedays")]
public int? Usedays {get;set;}
///
/// Desc:产品名称
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="subproductname2")]
public string? Subproductname2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="opendays2")]
public int? Opendays2 {get;set;}
///
/// Desc:开通(天)
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="totaldays")]
public int? Totaldays {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="price2")]
public decimal? Price2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="ctime2")]
public DateTime? Ctime2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="otime2")]
public DateTime? Otime2 {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="channel2")]
public int? Channel2 {get;set;}
///
/// Desc:订单状态:新订单180、已开通220、已停用/已退款90、已过期80、已取消70,去掉"已支付200、暂缓开通210"状态
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="status2")]
public short? Status2 {get;set;}
///
/// Desc:退款状态(0-默认、1-已退款),为兼容客服系统
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="isrefund")]
public byte? Isrefund {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="canceluser")]
public string? Canceluser {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="canceltime")]
public DateTime? Canceltime {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="returnPrice")]
public decimal? ReturnPrice {get;set;}
}
}