2026-03-30 11:23:24 +08:00
|
|
|
|
using YD_Event.Core.Enum;
|
|
|
|
|
|
|
|
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 单位认证表
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("MerchantCertification")]
|
|
|
|
|
|
public class MerchantCertification : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 用户ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 单位名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(Length = 128)]
|
|
|
|
|
|
public string MerchantName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 统一社会信用代码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(Length = 50)]
|
|
|
|
|
|
public string CreditCode { 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>
|
|
|
|
|
|
[SugarColumn(Length = 256)]
|
|
|
|
|
|
public string Address { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 审核状态
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public AuditStatus AuditStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 审核备注
|
|
|
|
|
|
/// </summary>
|
2026-08-30 21:46:05 +08:00
|
|
|
|
[SugarColumn(Length = 512, IsNullable = true)]
|
2026-03-30 11:23:24 +08:00
|
|
|
|
public string? AuditRemark { get; set; }
|
|
|
|
|
|
|
2026-08-30 21:46:05 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 审核人(后台系统用户ID)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
|
public long? AuditUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 审核时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
|
public DateTime? AuditTime { get; set; }
|
|
|
|
|
|
|
2026-03-30 11:23:24 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 可用状态
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public AvailabilityStatus Status { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 标记删除
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool DeleteMark { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long CreatedUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long? UpdatedUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
}
|