58 lines
1.2 KiB
C#
58 lines
1.2 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace VTNZ_Immutable
|
|||
|
{
|
|||
|
public class General
|
|||
|
{
|
|||
|
string _name;
|
|||
|
decimal _value;
|
|||
|
|
|||
|
public string Name => _name;
|
|||
|
public decimal Value => _value;
|
|||
|
public General(string name, int value)
|
|||
|
{
|
|||
|
_name = name;
|
|||
|
_value = value;
|
|||
|
}
|
|||
|
}
|
|||
|
public class WoFInspection
|
|||
|
{
|
|||
|
string _name = "Wof Inspection";
|
|||
|
decimal _value = 50M;
|
|||
|
|
|||
|
public string Name => _name;
|
|||
|
public decimal Value => _value;
|
|||
|
}
|
|||
|
|
|||
|
public class ModifiedInspection
|
|||
|
{
|
|||
|
string _inspectionType = "Modified Vehicle Check-Up";
|
|||
|
decimal _value = 200M;
|
|||
|
|
|||
|
public string InspectionType => _inspectionType;
|
|||
|
public decimal Value => _value;
|
|||
|
}
|
|||
|
|
|||
|
public class PrePurchaseInspection
|
|||
|
{
|
|||
|
string _name = "Pre-purchase Inspection";
|
|||
|
decimal _value = 150M;
|
|||
|
|
|||
|
public string Name => _name;
|
|||
|
public decimal Value => _value;
|
|||
|
}
|
|||
|
|
|||
|
public class CoFInspection
|
|||
|
{
|
|||
|
string _name = "Wof Inspection";
|
|||
|
decimal _value = 210M;
|
|||
|
|
|||
|
public string Name => _name;
|
|||
|
public decimal Value => _value;
|
|||
|
}
|
|||
|
}
|