using System.ComponentModel; using Gestor.Model.Attributes; using Gestor.Model.Converter; namespace Gestor.Model.Common; [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum FormaPagamento { [OldValue("0")] [Description("TODAS EM DÉBITO")] Debito, [OldValue("1")] [Description("TODAS EM CARTÃO")] Cartao, [OldValue("2")] [Description("TODAS EM BOLETO")] Boleto, [OldValue("3")] [Description("1ª BOLETO E DEMAIS DÉBITO")] PrimeiraBoleto, [OldValue("4")] [Description("NENHUM")] Nenhum, [OldValue("5")] [Description("FATURA")] Fatura, [OldValue("6")] [Description("1ª DÉBITO E DEMAIS BOLETO")] PrimeiraDebito, [OldValue("7")] [Description("CRÉDITO EM CONTA")] Credito, [OldValue("8")] [Description("CARNÊ")] Carne, [OldValue("9")] [Description("1º BOLETO E DEMAIS NO CARNÊ")] PrimeiraBoletoDemaisCarne, [OldValue("10")] [Description("FICHA + CARNÊ")] FichaMaisCarne, [OldValue("11")] [Description("DÓLAR")] Dolar, [OldValue("12")] [Description("À VISTA")] AVista, [OldValue("13")] [Description("1ª BOLETO E DEMAIS C. CRÉDITO")] PrimeiraBoletoDemaisCredito, [OldValue("14")] [Description("1ª CARTÃO E DEMAIS BOLETO")] PrimeiraCartaoDemaisBoleto, [OldValue("15")] [Description("PIX")] Pix, [OldValue("16")] [Description("TODAS EM CARTÃO SEGURADORA")] CartaoSeguradora }