mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-01-18 01:16:39 +01:00
21 lines
562 B
C#
21 lines
562 B
C#
using System.Collections.Generic;
|
|
|
|
namespace TheatricalPlayersRefactoringKata
|
|
{
|
|
public class Invoice
|
|
{
|
|
private string _customer;
|
|
private List<Performance> _performances;
|
|
|
|
public string Customer { get => _customer; set => _customer = value; }
|
|
public List<Performance> Performances { get => _performances; set => _performances = value; }
|
|
|
|
public Invoice(string customer, List<Performance> performance)
|
|
{
|
|
this._customer = customer;
|
|
this._performances = performance;
|
|
}
|
|
|
|
}
|
|
}
|