package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-11-09
 */
@Getter
@Setter
@TableName("t_increment_auto_order")
public class IncrementAutoOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自动订阅表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 权益类型id
     */
    @TableField("increment_type_id")
    private Integer incrementTypeId;

    /**
     * 会员id
     */
    @TableField("user_increment_id")
    private Long userIncrementId;

    /**
     * paypal订阅id
     */
    @TableField("subscription_id")
    private String subscriptionId;

    @TableField("order_sn")
    private String orderSn;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("agent_key")
    private String agentKey;
}
