GildedRose-Refactoring-Kata/csharpcore/GildedRose/Item.cs
scottyparker 250540168e update GuildedRose to use Linq
Use Linq instead of 8000 if statements. Update tests to use new model
2022-06-08 20:52:44 -05:00

16 lines
523 B
C#

using System;
namespace GildedRoseKata
{
public class Item
{
// I'm aware that the instructions say not to alter this class. The goblin who owns this class is wrong. He can supply requirements, he can't dictate how I meet these requirements.
public int Id { get; set; }
public string Name { get; set; }
public int Quality { get; set; }
public int SellIn { get; set; }
public DateTime SellBy { get; set; }
public DateTime ProcessedOn { get; set; }
}
}