131 lines
3.4 KiB
Java
131 lines
3.4 KiB
Java
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;
|
||
import java.math.BigDecimal;
|
||
|
||
@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("data_type")
|
||
@Schema(description = "数据类型")
|
||
private String dataType;
|
||
|
||
@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 BigDecimal 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;
|
||
|
||
@TableField("today_total_money_sum")
|
||
@Schema(description = "汇总后的总金额")
|
||
private BigDecimal todayTotalMoneySum;
|
||
|
||
@TableField("today_unresell_count")
|
||
@Schema(description = "当天没有寄卖的单数总和")
|
||
private Integer todayUnresellCount;
|
||
|
||
@TableField("today_order_count")
|
||
@Schema(description = "当天交易单数")
|
||
private Integer todayOrderCount;
|
||
}
|