123456789101112131415161718 |
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace API.DBModel
- {
- [Table("User")]
- public class User
- {
- [Key]
- public int id { get; set; }
- public string? username { get; set; }
- public string? password { get; set; }
- List<ShoppingList>? shoppingLists { get; set; }
- }
- }
|