Files
Singer-BE/Singer_Hexdive/Models/MerchantPersonalDetail.cs

28 lines
1.0 KiB
C#

using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using Singer_Hexdive.Enums;
namespace Singer_Hexdive.Models
{
public class MerchantPersonalDetail
{
[Key]
public int MechantId { get; set; }
public string MerchantName { get; set; }
public int FK_IdType { get; set; }
[ForeignKey("FK_IdType")]
public IdentificationType IdentificationType { get; set; }
public string M_IdNumber { get; set; }
public string M_Email { get; set; }
public string M_Mobile_Primary { get; set; }
public string? M_Mobile_Secondary { get; set; }
public string M_Address { get; set; }
public string M_City { get; set; }
public int M_PostalCode { get; set; }
public DateTime OnboardDate { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.Now;
public bool IsActive { get; set; } = true;
public ApprovedStatus ApprovedStatus { get; set; } = ApprovedStatus.pending;
}
}