public with sharing class ConsumApplyEquipmentSetReaController {

    

    @AuraEnabled
    public static InitDate reassign(String recordId) {
        InitDate res = new InitDate();
        Consum_Apply__c apply = [SELECT Id,
                                    Status__c FROM Consum_Apply__c WHERE Id = :recordId LIMIT 1];
        res.status = apply.Status__c;
        return res;

    }

   

    public class InitDate{

        @AuraEnabled
        public String id;

        @AuraEnabled
        public String status;
   
    }
}