from enum import  Enum

class misc_webargs(Enum):
    USERNAME = 1
    PASSWORD = 2
    TOKEN = 3
    ROLE = 4
    REFERRER_USERNAME = 5
    REFERRER_TOKEN = 6
    TIMESTAMP=7
    AGENT_NAME = 8
    CUSTOMER_NAME = 9
    TIMEZONE = 10
    SEQ_VAL = 11
    CREDIT_SCORE = 12
    DOCUMENT1_VER_STATUS = 13
    DOCUMENT2_VER_STATUS = 14
    MONTHLY_INCOME = 15
    ANNUAL_INCOME = 16
    INSERTED_ID = 17

class response(Enum):
    VERDICT = 101
    PAYLOAD = 102

class collectionName(Enum):
    users = 201
    relations = 202
    loan_inventory = 203
    loan_customer = 204
    counters = 205
    loan_customer_counter = 206

class roles(Enum):
    ADMIN = 301
    AGENT = 302
    CUSTOMER = 303

class loanInv(Enum):
    ID = 401
    NAME = 402
    DESC = 403
    MIN_AMT = 404
    MAX_AMT = 405
    MIN_DURATION = 406
    MAX_DURATION = 407
    INTERESTRATE = 408
    MANDATORY_REQUIREMENT1 = 409
    MANDATORY_REQUIREMENT2 = 410
    EMI_AVAILABLE = 411
    PREPAYMENT_AVAILABLE = 412
    PREPAYMENT_CHARGES = 413
    LOAN_PROCESSING_CHARGES = 414
    EXTRA_ONE_TIME_CHARGES = 415
    MINIMUM_CREDIT_SCORE = 416
    MINIMUM_ANNUAL_INCOME_LOANEE = 417
    MINIMUM_MONTHLY_INCOME_LOANEE = 418
    IS_REDUCING_RATE_OF_INTEREST = 419

class DocumentType(Enum):
    PAN_CARD = 501
    AADHAR_CARD = 502
    SALARY_SLIP = 503
    FORM_16 = 504

class loanCust(Enum):
    LOAN_INVT_ID = 601
    AMT = 602
    DURATION = 603
    MANDATORY_REQUIREMENT1_LOC = 604
    MANDATORY_REQUIREMENT2_LOC = 605
    EMI_CHOSEN = 606
    LOAN_CUST_ID = 607
    LOAN_STATE = 608

class loanState(Enum):
    NEW = 701
    ACCEPTED = 702
    REJECTED = 703


