mirror of
https://git.oceanpay.cc/danial/kami_itunes_june.git
synced 2025-12-18 22:31:24 +00:00
32 lines
402 B
C#
32 lines
402 B
C#
namespace AppleBatch_June.Model
|
|
{
|
|
public class NationalList
|
|
{
|
|
private string _name;
|
|
|
|
public string name
|
|
{
|
|
get
|
|
{
|
|
return _name;
|
|
}
|
|
set
|
|
{
|
|
string[] array = value.Split('-');
|
|
if (array.Length >= 2)
|
|
{
|
|
_name = array[0].Trim();
|
|
}
|
|
else
|
|
{
|
|
_name = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public string Id { get; set; }
|
|
|
|
public PaymentInfo payment { get; set; }
|
|
}
|
|
}
|