PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/MvcMusicStore/Models/Cart.cs

#
C# | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | 46281c2e884ce512cdbf5178c9ce47aa MD5 | raw file
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace MvcMusicStore.Models
 4{
 5    public class Cart
 6    {
 7        [Key]
 8        public int RecordId { get; set; }
 9        public string CartId { get; set; }
10        public int AlbumId { get; set; }
11        public int Count { get; set; }
12        public System.DateTime DateCreated { get; set; }
13
14        public virtual Album Album { get; set; }
15    }
16}