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