private static string GetStatusCodeConsignmentNo(this dbo_status_code_event_new stat)
 {
     return(stat.consignment_no);
 }
 private static DateTime?GetStatusCodeDateTime(this dbo_status_code_event_new stat)
 {
     return(stat.date_field);
 }
        private static string HashStatusCodeEventNew(this dbo_status_code_event_new stat)
        {
            var key = $"stat.{stat.GetType().Name}.{stat.consignment_no}.{stat.date_field.Value:s}";

            return(GetHashKey(key));
        }