package com.mzl.flower.entity.payment; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.mzl.flower.base.BaseEntity; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; @Data @TableName("t_order_item") public class OrderItem extends BaseEntity { @TableField("order_id") private String orderId;//订单id @TableField("flower_id") private Long flowerId;//商品id @TableField("flower_name") private String flowerName;//商品名称 @TableField("flower_unit") private String flowerUnit;//商品单位 @TableField("flower_color") private String flowerColor;//商品颜色 @TableField("flower_cover") private String flowerCover;//商品封面 @TableField("flower_level") private String flowerLevel;//商品等级 @TableField("flower_category") private String flowerCategory;//商品分类 @TableField("flower_params") private String flowerParams;//商品参数 @TableField("num") private Integer num;//数量 @TableField("supplier_id") private Long supplierId;//供应商id @TableField("supplier_name") private String supplierName;//供应商名称 @TableField("supplier_price") private BigDecimal supplierPrice;//供应商价格 @TableField("markup_one") private BigDecimal markupOne;//一次加价 @TableField("markup_two") private BigDecimal markupTwo;//二次加价 @TableField("markup_partner") private BigDecimal markupPartner;//合伙人加价 @TableField("price") private BigDecimal price;//商品售价(会员价) @TableField("total") private BigDecimal total;//总金额 @TableField("status") private String status;//集货状态 @TableField("check_images") private String checkImages;//质检图片 @TableField("check_time") private LocalDateTime checkTime;//质检时间 @TableField("check_remarks") private String checkRemarks;//质检备注 @TableField("station_id") private Long stationId;//集货站id @TableField("deduct_amount") private BigDecimal deductAmount;//扣款金额 @TableField("coupon_amount") private BigDecimal couponAmount;//优惠券金额/扎 @TableField("original_price") private BigDecimal originalPrice;//优惠前售价/扎 @TableField("real_price") private BigDecimal realPrice;//真实成交价格/每扎 @TableField("coupon_amount_total") private BigDecimal couponAmountTotal;//优惠券总金额 @TableField("real_total") private BigDecimal realTotal;//真实成交总价格 }