parent
2b8b6b5206
commit
4157ee4da7
@ -9,9 +9,9 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.B
|
||||
public class CardType
|
||||
: Enumeration
|
||||
{
|
||||
public static CardType Amex = new CardType(1, nameof(Amex));
|
||||
public static CardType Visa = new CardType(2, nameof(Visa));
|
||||
public static CardType MasterCard = new CardType(3, nameof(MasterCard));
|
||||
public static CardType Amex = new(1, nameof(Amex));
|
||||
public static CardType Visa = new(2, nameof(Visa));
|
||||
public static CardType MasterCard = new(3, nameof(MasterCard));
|
||||
|
||||
public CardType(int id, string name)
|
||||
: base(id, name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user