gongzuming
2024-09-19 a768dc3daa04d35fedfbe75c0a59b9b2545b85c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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;//真实成交总价格
 
}