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