mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Beginning React+Redux "Music Store" sample
This commit is contained in:
12
samples/react/MusicStore/Apis/Models/Artist.cs
Normal file
12
samples/react/MusicStore/Apis/Models/Artist.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MusicStore.Models
|
||||
{
|
||||
public class Artist
|
||||
{
|
||||
public int ArtistId { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user