因为数据库连接问题导致的插入数据库异常
This commit is contained in:
113
src/main/java/com/rj/entity/LbOrderRow.java
Normal file
113
src/main/java/com/rj/entity/LbOrderRow.java
Normal file
@@ -0,0 +1,113 @@
|
||||
package com.rj.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("lb_order_row")
|
||||
@Schema(description = "LB 订单行表")
|
||||
public class LbOrderRow implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 业务主键为订单 id,由调用方传入,非数据库自增 */
|
||||
@TableId(value = "id", type = IdType.INPUT)
|
||||
@Schema(description = "订单 id")
|
||||
private Long id;
|
||||
|
||||
@TableField("old_id")
|
||||
@Schema(description = "旧订单 id")
|
||||
private Long oldId;
|
||||
|
||||
@TableField("tenant_id")
|
||||
@Schema(description = "租户ID")
|
||||
private String tenantId;
|
||||
|
||||
@TableField("seller_id")
|
||||
@Schema(description = "卖家 id")
|
||||
private Long sellerId;
|
||||
|
||||
@TableField("buyer_id")
|
||||
@Schema(description = "买家 id")
|
||||
private Long buyerId;
|
||||
|
||||
@TableField("order_sn")
|
||||
@Schema(description = "订单号")
|
||||
private String orderSn;
|
||||
|
||||
@TableField("total_money")
|
||||
@Schema(description = "总金额(接口为字符串)")
|
||||
private String totalMoney;
|
||||
|
||||
@TableField("pay_time")
|
||||
@Schema(description = "支付时间(原样字符串)")
|
||||
private String payTime;
|
||||
|
||||
@TableField("pay_img")
|
||||
@Schema(description = "支付凭证图")
|
||||
private String payImg;
|
||||
|
||||
@TableField("status")
|
||||
@Schema(description = "状态")
|
||||
private Integer status;
|
||||
|
||||
@TableField("is_resell")
|
||||
@Schema(description = "是否转卖")
|
||||
private Integer isResell;
|
||||
|
||||
@TableField("is_show")
|
||||
@Schema(description = "是否展示")
|
||||
private Integer isShow;
|
||||
|
||||
@TableField("consignee")
|
||||
@Schema(description = "收货人")
|
||||
private String consignee;
|
||||
|
||||
@TableField("phone")
|
||||
@Schema(description = "电话")
|
||||
private String phone;
|
||||
|
||||
@TableField("province")
|
||||
@Schema(description = "省")
|
||||
private String province;
|
||||
|
||||
@TableField("city")
|
||||
@Schema(description = "市")
|
||||
private String city;
|
||||
|
||||
@TableField("area")
|
||||
@Schema(description = "区")
|
||||
private String area;
|
||||
|
||||
@TableField("address")
|
||||
@Schema(description = "详细地址")
|
||||
private String address;
|
||||
|
||||
@TableField("merchandise_id")
|
||||
@Schema(description = "商品 id")
|
||||
private Long merchandiseId;
|
||||
|
||||
@TableField("confirm_time")
|
||||
@Schema(description = "确认时间")
|
||||
private String confirmTime;
|
||||
|
||||
@TableField("buy_time")
|
||||
@Schema(description = "下单时间")
|
||||
private String buyTime;
|
||||
|
||||
@TableField("created_at")
|
||||
@Schema(description = "创建时间")
|
||||
private String createdAt;
|
||||
|
||||
@TableField("updated_at")
|
||||
@Schema(description = "更新时间")
|
||||
private String updatedAt;
|
||||
}
|
||||
Reference in New Issue
Block a user