Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using AutoMapper;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using MyProject.DB;
- namespace MyProject.Models
- {
- public class AccountDriver
- {
- [Key]
- [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- public int AccountNumber { get; set; }
- public string Email { get; set; }
- public string AccountType { get; set; }
- public string FirstName { get; set; }
- public string LastName { get; set; }
- public string HomeAddress { get; set; }
- public string OfficeAddress { get; set; }
- public string DOB { get; set; }
- public int Pin { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment