using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace SA.Entity.zxdcrm_audit_Models
{
///
/// 退款记录表
///
[SugarTable("wx_szzyorderrefund")]
public class wx_szzyorderrefund
{
///
///
///
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true )]
public int id { get; set; }
///
///
///
[SugarColumn(ColumnName="orderid" )]
public int orderid { get; set; }
///
/// 退款金额
///
[SugarColumn(ColumnName="refundprice" )]
public decimal refundprice { get; set; }
///
/// 退款账号
///
[SugarColumn(ColumnName="account" )]
public string account { get; set; } ="";
///
/// 退款人姓名
///
[SugarColumn(ColumnName="username" )]
public string username { get; set; } ="";
///
/// 退款类型
///
[SugarColumn(ColumnName="refundtype" )]
public int refundtype { get; set; }
///
/// 退款类型名称
///
[SugarColumn(ColumnName="refundtypename" )]
public string refundtypename { get; set; } ="";
///
/// 退款时间
///
[SugarColumn(ColumnName="refunddate" )]
public DateTime? refunddate { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName="remark" )]
public string remark { get; set; } ="";
///
/// 附件
///
[SugarColumn(ColumnName="att" )]
public string att { get; set; } ="";
///
/// 审核状态 1:通过,0:未通过
/// 默认值: 0
///
[SugarColumn(ColumnName="auditstatus" )]
public int auditstatus { get; set; }
///
/// 审核人
///
[SugarColumn(ColumnName="auditor" )]
public int? auditor { get; set; }
///
/// 审核人姓名
///
[SugarColumn(ColumnName="auditorname" )]
public string auditorname { get; set; } ="";
///
/// 审核时间
///
[SugarColumn(ColumnName="audittime" )]
public DateTime? audittime { get; set; }
///
///
///
[SugarColumn(ColumnName="ctime" )]
public DateTime ctime { get; set; }
///
///
///
[SugarColumn(ColumnName="att2" )]
public string att2 { get; set; } ="";
///
/// 营业部编码
///
[SugarColumn(ColumnName="companycode" )]
public string companycode { get; set; } ="";
///
/// 渠道
///
[SugarColumn(ColumnName="channel" )]
public int? channel { get; set; }
///
///
/// 默认值: 0
///
[SugarColumn(ColumnName="isdelete" )]
public int isdelete { get; set; }
///
/// 是否多付费
/// 默认值: 0
///
[SugarColumn(ColumnName="ismorepay" )]
public int? ismorepay { get; set; }
///
/// 提交人
///
[SugarColumn(ColumnName="creator" )]
public int? creator { get; set; }
///
/// 提交人姓名
///
[SugarColumn(ColumnName="creatorname" )]
public string creatorname { get; set; } ="";
///
/// 1:需要实际退款 0:退回可用余额(不需要实际退款)
/// 默认值: 1
///
[SugarColumn(ColumnName="isacturalrefund" )]
public int? isacturalrefund { get; set; }
///
/// 1:老数据 0:新的退款数据
/// 默认值: 0
///
[SugarColumn(ColumnName="isold" )]
public int? isold { get; set; }
///
///
///
[SugarColumn(ColumnName="resid" )]
public string resid { get; set; } ="";
///
///
/// 默认值: CURRENT_TIMESTAMP(4)
///
[SugarColumn(ColumnName="last_modify_time" )]
public DateTime last_modify_time { get; set; }
///
/// 部门编码
///
[SugarColumn(ColumnName="deptcode" )]
public string deptcode { get; set; } ="";
}
}