package com.hzs.common.domain.member.bonus;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 秒接日志记录表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_RETAIL_LOG_SEQ")
@TableName("CU_MEMBER_RETAIL_LOG")
public class CuMemberRetailLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 订单编号
     */
    @TableField("ORDER_CODE")
    private String orderCode;

    /**
     * 是否成功 0=是，1=否
     */
    @TableField("ENABLE_STATUS")
    private Integer enableStatus;

    /**
     * 撤单状态 0=撤单，1=报单
     */
    @TableField("CANCEL_STATUS")
    private Integer cancelStatus;

    /**
     * 错误日志
     */
    @TableField("MSG")
    private String msg;

    /**
     * 重试次数
     */
    @TableField("RETRY_NUM")
    private Integer retryNum;

}
