您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

User.cs 630B

1234567891011121314151617181920
  1. using ProRestaurant.Classes;
  2. using System.Collections.Generic;
  3. namespace ProRestaurant.Models.Accounts
  4. {
  5. public class User : BaseObject
  6. {
  7. public string EmailAddress { get; set; }
  8. public string Password { get; set; }
  9. public string FirstName { get; set; }
  10. public string Surname { get; set; }
  11. public string Cellphone { get; set; }
  12. public SystemRole SystemRole { get; set; }
  13. public bool ChangePassword { get; set; }
  14. public virtual DriverDetail DriverDetails { get; set; }
  15. public ICollection<UserAddress> Addresses { get; set; }
  16. }
  17. }