package com.red.circle.order.infra.database.rds.entity.order;


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 com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 存在丢失订单日志记录
 * </p>
 *
 * @author pengliang
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_abnormal_log")
public class OrderAbnormalLog extends TimestampBaseEntity {

  /**
   * 主键标识
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 来源系统
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 平台
   */
  @TableField("platform")
  private String platform;

  /**
   * 原始订单id
   */
  @TableField("original_order_id")
  private String originalOrderId;

  /**
   * 订单id
   */
  @TableField("order_id")
  private String orderId;

  /**
   * 凭证
   */
  @TableField("certificate")
  private String certificate;

  /**
   * 产品编号
   */
  @TableField("product_code")
  private String productCode;

  /**
   * 状态
   */
  @TableField("status")
  private String status;
}
