Something went wrong. Try again.
A fashion app that uses computer vision to recommend clothing items
Something went wrong. Try again.
12345678910111213141516171819202122/* * Model for clothing color * For storing the color of garment with matching clothes * Ex: Black, White, Red */
using System.ComponentModel.DataAnnotations;using System.Text.Json.Serialization;
namespace Worker.Models{ public class Color { public int Id { get; set; }
public string ClothingColor { get; set; } = "other";
[JsonIgnore] public List<ClothingItem> MatchingColoredItems { get; set; } = new List<ClothingItem>(); }}