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? shoppingLists { get; set; } } }