Exemplo n.º 1
0
 public LateFeePaneltyMasterHelper(API.LABURNUM.COM.LateFeePaneltyMaster lateFeePaneltyMaster)
 {
     if (lateFeePaneltyMaster == null)
     {
         throw new Exception(API.LABURNUM.COM.Component.Constants.ERRORMESSAGES.PARAMETER_CANNOT_BE_NULL);
     }
     ;
     this.LateFeePaneltyMasters = new List <API.LABURNUM.COM.LateFeePaneltyMaster>();
     this.LateFeePaneltyMasters.Add(lateFeePaneltyMaster);
 }
Exemplo n.º 2
0
        private DTO.LABURNUM.COM.LateFeePaneltyMasterModel MapCore(API.LABURNUM.COM.LateFeePaneltyMaster apiclass)
        {
            DTO.LABURNUM.COM.LateFeePaneltyMasterModel dtoClass = new DTO.LABURNUM.COM.LateFeePaneltyMasterModel()
            {
                LateFeePaneltyMasterId = apiclass.LateFeePaneltyMasterId,
                DaysAfter   = apiclass.DaysAfter,
                Fine        = apiclass.Fine,
                CreatedOn   = apiclass.CreatedOn,
                IsActive    = apiclass.IsActive,
                LastUpdated = apiclass.LastUpdated
            };

            return(dtoClass);
        }