package com.sonic.lion.domain.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 com.sonic.lion.enums.BindDataType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * t_pay_account_third_bind
 * @author 
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_pay_account_third_bind")
public class PayAccountThirdBind {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long accountThirdId;

    /**
     * 绑定资料类型
     */
    private BindDataType bindDataType;

    /**
     * 绑定资料id（对应各资料表id）
     */
    private Long bindDataId;

    /**
     * 资料在三方的openId
     */
    private String thirdOpenId;

    private String result;

    private Date createTime;

    private Date editTime;

    @TableField("is_delete")
    private Boolean deleted;
}