22 lines
1.0 KiB
C#
22 lines
1.0 KiB
C#
using FreeSql.DataAnnotations;
|
|
namespace Store.Users.Entities;
|
|
|
|
/// <summary>用户提交的积分充值备注。处理结果仅由管理员填写,不自动变更资金。</summary>
|
|
[Table(Name = "wxxd.user_points_top_up_msg")]
|
|
public sealed class UserTopUpMessageEntity
|
|
{
|
|
[Column(Name = "id", IsPrimary = true, IsIdentity = true)] public long Id { get; set; }
|
|
[Column(Name = "user_name")] public string UserName { get; set; } = "";
|
|
[Column(Name = "nick_name")] public string NickName { get; set; } = "";
|
|
[Column(Name = "msg")] public string Message { get; set; } = "";
|
|
[Column(Name = "op_rst")] public string? Result { get; set; }
|
|
}
|
|
|
|
/// <summary>按代理编码保存的充值二维码;代理编码沿用旧表的唯一键。</summary>
|
|
[Table(Name = "wxxd.user_top_up_qrcode")]
|
|
public sealed class UserTopUpQrcodeEntity
|
|
{
|
|
[Column(Name = "agent_code", IsPrimary = true)] public string AgentCode { get; set; } = "";
|
|
[Column(Name = "qrcode_base64")] public string QrcodeBase64 { get; set; } = "";
|
|
}
|