@Id的annotation只在属性上,将使用属性级别的annotation,忽略getter方法级别的annotation; 只要@Id的annotation在getter方法上,就将使用getter方法上的annotation,忽略属性级别的annotation。