package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
|
/**
|
* @auther lyq
|
* @create 2021-04-14 15:03:17
|
* @describe 订单商品表实体类
|
*/
|
|
@Data
|
@TableName("com_shop_order_goods")
|
public class ComShopOrderGoodsDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 订单商品id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 店铺id
|
*/
|
private Long storeId;
|
|
/**
|
* 订单id
|
*/
|
private Long orderId;
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
/**
|
* 订单号
|
*/
|
private String orderNo;
|
|
/**
|
* 商品id
|
*/
|
private Long goodsId;
|
|
/**
|
* 商品规格id
|
*/
|
private Long goodsAttrId;
|
|
/**
|
* 购买数量
|
*/
|
private Integer amount;
|
|
/**
|
* 商品规格价格
|
*/
|
private BigDecimal goodsAttrPrice;
|
|
/**
|
* 商品规格图
|
*/
|
private String goodsAttrPic;
|
|
/**
|
* 商品名称
|
*/
|
private String goodsName;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
|
@Override
|
public String toString() {
|
return "ComShopOrderGoodsDO{" +
|
"id=" + id +
|
", storeId=" + storeId +
|
", orderId=" + orderId +
|
", userId=" + userId +
|
", orderNo=" + orderNo +
|
", goodsId=" + goodsId +
|
", goodsAttrId=" + goodsAttrId +
|
", amount=" + amount +
|
", goodsAttrPrice=" + goodsAttrPrice +
|
", goodsAttrPic=" + goodsAttrPic +
|
", goodsName=" + goodsName +
|
", createAt=" + createAt +
|
"}";
|
}
|
}
|