更新 Admin.NET/Admin.NET.Core/Entity/SysWechatRefund.cs

优化支付属性,OrderId和OrderStatus字段是字符串,设置可空兼容性更强。Remark字段默认应该是大字段更合适,这样可以存储更多的报文信息
This commit is contained in:
362270511 2024-08-15 16:30:21 +08:00
parent 21b916c48f
commit 07355b96ca

View File

@ -69,13 +69,13 @@ public class SysWechatRefund : EntityBase
/// 关联的商户订单号
/// </summary>
[SugarColumn(ColumnDescription = "关联的用户订单号", Length = 256)]
public string OrderId { get; set; }
public string? OrderId { get; set; }
/// <summary>
/// 关联的商户订单状态(或者为第几次支付,有些订单涉及多次支付,比如先付预付款,后补尾款)
/// </summary>
[SugarColumn(ColumnDescription = "关联的商户订单状态", Length = 32)]
public string OrderStatus { get; set; }
public string? OrderStatus { get; set; }
/// <summary>
/// 关联的商户商品编码
@ -116,6 +116,6 @@ public class SysWechatRefund : EntityBase
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDescription = "备注")]
[SugarColumn(ColumnDescription = "备注", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? Remark { get; set; }
}