AlanMoonbase 34a6ac92d3 Implement Store Backend
MODEL CHANGE COMMANDS:
`ALTER TABLE Users ADD ActiveProfileCosmetic int(11) NOT NULL;`
`CREATE TABLE OwnedStoreItems (Id int(11) NOT NULL, UserId varchar(255) NOT NULL, StoreItemId int(11) NOT NULL, FOREIGN KEY (UserId) REFERENCES Users(Id));`
2025-07-09 14:51:18 -07:00

15 lines
320 B
C#

using System.ComponentModel.DataAnnotations;
namespace qtc_api.Models
{
public class OwnedStoreItem
{
[Key]
public int Id { get; set; }
public string UserId { get; set; } = string.Empty;
public int StoreItemId { get; set; }
public virtual User? User { get; }
}
}