using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace GoodTimes.Models { public class Product { public int Id { get; set; } [Required] public string Naam { get; set; } [Required] [DataType(DataType.MultilineText)] public string Omschrijving { get; set; } [Required] public double Prijs { get; set; } public int Volgorde { get; set; } public int CategorieId { get; set; } public Categorie categorie { get; set; } } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter