We establish a prognostic model containing 10 genes (risk genes: ATP6AP1, RNF139, BASP1, ESR1 and TSKU; protective genes: RPL31, PAK1, STARD10, TFPI2 and SIAH2) for luminal BC, seven genes (risk genes: ACTR6 and C2orf76; protective genes: DIO2, DCXR, NDUFA8, SULT1A2 and AQP3) for HER2+ BC, and seven genes (risk genes: HPGD, CDC42 and PGK1; protective genes: SMYD3, LMO4, FABP7 and PRKRA) for TNBC. Here, AQP3 is linked to breast cancer.