morry2341

AccountDriver_bank

Nov 25th, 2022
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. using AutoMapper;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using MyProject.DB;
  5.  
  6. namespace MyProject.Models
  7. {
  8. public class AccountDriver
  9. {
  10. [Key]
  11. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  12. public int AccountNumber { get; set; }
  13. public string Email { get; set; }
  14.  
  15. public string AccountType { get; set; }
  16. public string FirstName { get; set; }
  17. public string LastName { get; set; }
  18. public string HomeAddress { get; set; }
  19. public string OfficeAddress { get; set; }
  20. public string DOB { get; set; }
  21.  
  22. public int Pin { get; set; }
  23.  
  24.  
  25. }
  26.  
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment