1
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商品订单详情表
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-08-29 15:27:44
|
||||
* @modified Cauchy
|
||||
* @date 2023-10-07 13:06:00
|
||||
*/
|
||||
@Data
|
||||
@TableName("buy_order_detail")
|
||||
public class BuyOrderDetail implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 订单详情id
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 订单表id
|
||||
*/
|
||||
private Integer orderId;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private Integer userId;
|
||||
/**
|
||||
* 商品id
|
||||
*/
|
||||
private Integer productId;
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
private String productName;
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
private Integer quantity;
|
||||
/**
|
||||
* 商品单价
|
||||
*/
|
||||
private BigDecimal productPrice;
|
||||
/**
|
||||
* 商品重量
|
||||
*/
|
||||
private BigDecimal weight;
|
||||
/**
|
||||
* 商品类型
|
||||
*/
|
||||
private String productType;
|
||||
/**
|
||||
* 订单状态 0-待支付 1-待发货 2-待收货
|
||||
*/
|
||||
private String orderStatus;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 下单时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date creatTime;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String image;
|
||||
/**
|
||||
* 面单html
|
||||
*/
|
||||
private String expressBillTemplate;
|
||||
/**
|
||||
* 商品图片地址
|
||||
*/
|
||||
private String productUrl;
|
||||
/**
|
||||
* 评价 ID
|
||||
*/
|
||||
private Integer recordId;
|
||||
/**
|
||||
* 快递单号
|
||||
*/
|
||||
private String expressBillNo;
|
||||
/**
|
||||
* 快递公司编码
|
||||
*/
|
||||
private String expressCompanyCode;
|
||||
}
|
||||
Reference in New Issue
Block a user