fix bugs
This commit is contained in:
@@ -12,6 +12,7 @@ namespace SafeBagDE70.Model
|
||||
internal class CDMDbContext:DbContext
|
||||
{
|
||||
public DbSet<History> Histories { get; set; }
|
||||
public DbSet<Customer> Customers { get; set; }
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlServer("Server=.\\SQLEXPRESS;Database=CDMLOCAL;User Id=cdm;Password=Navis@123;Trusted_Connection=False;TrustServerCertificate=True");
|
||||
@@ -35,4 +36,14 @@ namespace SafeBagDE70.Model
|
||||
|
||||
public string Status { get; set; }
|
||||
}
|
||||
public class Customer
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? TenantName { get; set; }
|
||||
public string? TenantCode { get; set; }
|
||||
public string? AccountNumber { get; set; }
|
||||
public string? AccountHolder { get; set; }
|
||||
public string? PinCode { get; set; }
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user