| | |
| | | package com.xcong.excoin.modules.contract.mapper; |
| | | |
| | | import com.xcong.excoin.modules.contract.entity.ContractEntrustOrderEntity; |
| | | import com.xcong.excoin.modules.contract.entity.ContractOrderEntity; |
| | | import com.xcong.excoin.modules.contract.parameter.dto.SubmitEntrustDto; |
| | | import org.mapstruct.Mapper; |
| | | import org.mapstruct.Mapping; |
| | | import org.mapstruct.factory.Mappers; |
| | | |
| | | /** |
| | |
| | | |
| | | public abstract ContractEntrustOrderEntity submitEntrustDtoToEntity(SubmitEntrustDto dto); |
| | | |
| | | @Mapping(source = "entrustPrice", target = "entrustOpeningPrice") |
| | | @Mapping(source = "createTime", target = "entrustTime") |
| | | public abstract ContractOrderEntity entrustOrderToOrder(ContractEntrustOrderEntity orderEntity); |
| | | |
| | | } |