public with sharing class ConsumApplyEquipmentSetDefaultController {
    @AuraEnabled
    public static InitDate defaultSelect(String recordId) {
        InitDate res = new InitDate();
        Consum_Apply__c apply = [SELECT Id,
                                Yi_loaner_arranged__c FROM Consum_Apply__c WHERE Id = :recordId LIMIT 1];
        res.yiLoanerArranged = apply.Yi_loaner_arranged__c;
        return res;

    }

   

    public class InitDate{

        @AuraEnabled
        public String id;

        @AuraEnabled
        public Decimal yiLoanerArranged;
   
    }
}