public interface IPo extends Serializable
Po resides in infrastructure layer,被认为是技术细节:行为是抽象,数据是细节,行为封装数据.
infrastructure layer
这里建议使用mapstruct把IPo对象转换为IDomainModel.
mapstruct
IPo
IDomainModel
Copyright © 2020–2023. All rights reserved.