|  |  |  | 
|---|
|  |  |  | package com.xzx.gc.entity; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.xzx.gc.common.entity.BaseEntity; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModel; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.persistence.Column; | 
|---|
|  |  |  | import javax.persistence.Table; | 
|---|
|  |  |  | import javax.persistence.Transient; | 
|---|
|  |  |  | import java.math.BigDecimal; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Table(name = "xzx_jhy_order_items") | 
|---|
|  |  |  | @ApiModel(value = "JhyOrderItems", description = "订单详情") | 
|---|
|  |  |  | public class JhyOrderItems extends BaseEntity { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Long orderId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="标题") | 
|---|
|  |  |  | private String title; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="价格") | 
|---|
|  |  |  | private BigDecimal price; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="图片") | 
|---|
|  |  |  | private String picture; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="备注") | 
|---|
|  |  |  | private String remark; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="重量") | 
|---|
|  |  |  | private BigDecimal weight; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="积分") | 
|---|
|  |  |  | private String score; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value="类型") | 
|---|
|  |  |  | private Long itemType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Transient | 
|---|
|  |  |  | @ApiModelProperty(value = "单位") | 
|---|
|  |  |  | private transient String itemUnit; | 
|---|
|  |  |  | } | 
|---|