24 lines
666 B
C#
24 lines
666 B
C#
namespace DBObj
|
|
{
|
|
// artist OOP test
|
|
public class Artist
|
|
{
|
|
public string Name { get; set; }
|
|
public string NameSimplified{get;set;}
|
|
//public string Phonetic { get; set; }
|
|
//public string Category { get; set; }
|
|
//public int Strokes { get; set; }
|
|
|
|
public Artist(string name,string nameSimplified)
|
|
{
|
|
Name = name;
|
|
NameSimplified=nameSimplified;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
//return $"Name: {Name}, Phonetic: {Phonetic}, Category: {Category}, Strokes: {Strokes}";
|
|
return $"Name: {Name}";
|
|
}
|
|
}
|
|
} |