package com.playlet.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.playlet.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.playlet.common.annotation.Excel;

/**
 * @Date: 2024-03-30 12:22
 * @Author: 但星霖
 * @Version: v1.0
 * @Description: 用户提现密码对象 playlet_user_withdrawal_password
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "playlet_user_withdrawal_password")
public class PlayletUserWithdrawalPassword extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户提现密码主键自增id
     */
    @ApiModelProperty(value = "用户提现密码主键自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @Excel(name = "用户id")
    private String userId;

    /**
     * 提现密码，页面传入md5 后台存储加aes加密
     */
    @ApiModelProperty(value = "提现密码，页面传入md5 后台存储加aes加密")
    @Excel(name = "提现密码，页面传入md5 后台存储加aes加密")
    private String password;

    /**
     * 确认密码
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "确认密码")
    private String confirmPassword;

    /**
     * 原始密码
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "原始密码")
    private String originalPassword;
}
