Moreover, we found that genetically determined body mass index, waist-to-hip ratio, triglycerides, and television viewing time may be positively correlated with NAFLD and GDM, while high-density lipoprotein cholesterol and apolipoprotein A-I may both be negatively correlated with NAFLD and GDM. The gene discussed is APOA1; the disease is metabolic dysfunction-associated steatotic liver disease.