OrderItem

data class OrderItem(val id: String, val productId: String, val price: BigDecimal, val quantity: Int) : Identifier, CreateOrderItem

订单项为实体对象 .

Author

ahoo wang

Constructors

Link copied to clipboard
constructor(id: String, productId: String, price: BigDecimal, quantity: Int)

Properties

Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val price: BigDecimal
Link copied to clipboard
open override val productId: String
Link copied to clipboard
open override val quantity: Int
Link copied to clipboard