2026-01-10 16:47:35 +08:00
|
|
|
using YD_Event.Core.Enum;
|
|
|
|
|
|
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商户管理表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("Merchant")]
|
2026-02-26 18:29:08 +08:00
|
|
|
public class Merchant : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
|
2026-01-10 16:47:35 +08:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 128)]
|
|
|
|
|
public string MerchantName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统一社会信用代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 50)]
|
|
|
|
|
public string CreditCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开户行
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 128)]
|
|
|
|
|
public string BankName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 128)]
|
|
|
|
|
public string AccountNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 营业执照图片URL
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 256)]
|
|
|
|
|
public string BusinessLicenseUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 联系电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 16)]
|
|
|
|
|
public string? ContactPhone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可用状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public AvailabilityStatus Status { get; set; }
|
|
|
|
|
|
2026-02-26 18:29:08 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 标记删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool DeleteMark { get; set; }
|
|
|
|
|
|
2026-01-10 16:47:35 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long CreatedUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-02-26 18:29:08 +08:00
|
|
|
/// 创建时间
|
2026-01-10 16:47:35 +08:00
|
|
|
/// </summary>
|
2026-02-26 18:29:08 +08:00
|
|
|
public DateTime CreatedTime { get; set; }
|
2026-01-10 16:47:35 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
2026-02-26 18:29:08 +08:00
|
|
|
/// 更新人
|
2026-01-10 16:47:35 +08:00
|
|
|
/// </summary>
|
2026-02-26 18:29:08 +08:00
|
|
|
public long? UpdatedUserId { get; set; }
|
2026-01-10 16:47:35 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
2026-02-26 18:29:08 +08:00
|
|
|
/// 更新时间
|
2026-01-10 16:47:35 +08:00
|
|
|
/// </summary>
|
2026-02-26 18:29:08 +08:00
|
|
|
public DateTime? UpdatedTime { get; set; }
|
2026-01-10 16:47:35 +08:00
|
|
|
}
|