using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace SA.Entity.zxdcrm_Models
{
///
///
///
[SugarTable("wx_szzyordermodulerefund")]
public partial class WxSzzyordermodulerefund
{
public WxSzzyordermodulerefund(){
}
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="priid")]
public int Priid {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="id")]
public int? Id {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="orderid")]
public int? Orderid {get;set;}
///
/// Desc:渠道
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="channel")]
public string? Channel {get;set;}
///
/// Desc:退款时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="refunddate")]
public DateTime? Refunddate {get;set;}
///
/// Desc:退款金额
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="refundprice")]
public decimal? Refundprice {get;set;}
///
/// Desc:退款类型
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="refundtype")]
public int? Refundtype {get;set;}
///
/// Desc:退款比例
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="refundpercentage")]
public decimal? Refundpercentage {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="account")]
public string? Account {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="username")]
public string? Username {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="midproductid")]
public string? Midproductid {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="moduleid")]
public string? Moduleid {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="szzyorderid")]
public long? Szzyorderid {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="ismorepay")]
public int? Ismorepay {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="opendays2")]
public int? Opendays2 {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="arrivalpay")]
public decimal? Arrivalpay {get;set;}
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="json_szzy_order_id")]
public string? Json_szzy_order_id {get;set;}
///
/// Desc:剩余天数
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="restday")]
public int? Restday {get;set;}
///
/// Desc:模块初始天数
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="module_openday")]
public int? Module_openday {get;set;}
///
/// Desc:模块初始金额
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="module_arrivalpay")]
public decimal? Module_arrivalpay {get;set;}
///
/// Desc:模块应退金额(*比例)
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="module_refundprice")]
public decimal? Module_refundprice {get;set;}
///
/// Desc:区分订单或模块 10为订单 10以外为模块
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="is_order")]
public int? Is_order {get;set;}
///
/// Desc:0否 1 是
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="isoneday")]
public int? Isoneday {get;set;}
///
/// Desc:模块应退金额(原始)
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName="module_refundprice_bk")]
public decimal Module_refundprice_bk {get;set;}
///
/// Desc:10是 20否 是否module_price表抵扣过
/// Default:20
/// Nullable:True
///
[SugarColumn(ColumnName="is_deduction")]
public byte? Is_deduction {get;set;}
}
}