package com.muchinfo.mtp3pojos.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.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 用户销户申请表
 * </p>
 *
 * @author XKF
 * @since 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("USERCANCELAPPLY")
@ApiModel(value="Usercancelapply对象", description="用户销户申请表")
public class Usercancelapply extends Model<Usercancelapply> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流水号(AutoID)")
    private Long autoid;

    @ApiModelProperty(value = "用户ID")
    @TableField("USERID")
    private Long userid;

    @ApiModelProperty(value = "图片地址")
    @TableField("IMAGEURL")
    private String imageurl;

    @ApiModelProperty(value = "申请状态 - 0:待处理 1:处理中 2:完成")
    @TableField("APPLYSTATUS")
    private Integer applystatus;

    @ApiModelProperty(value = "申请时间")
    @TableField("APPLYTIME")
    private Date applytime;

    @ApiModelProperty(value = "审核人")
    @TableField("AUDITID")
    private Long auditid;

    @ApiModelProperty(value = "审核时间")
    @TableField("AUDITTIME")
    private Date audittime;

    @ApiModelProperty(value = "审核备注")
    @TableField("AUDITREMARK")
    private String auditremark;

    @ApiModelProperty(value = "处理状态 -  0:待审核 1:审核通过 2:审核拒绝 3:处理中")
    @TableField("HANDLESTATUS")
    private Integer handlestatus;

    @TableField(select = false)
    private String auditusername;

    @TableField(select = false)
    private String accountname;
    @Override
    public Serializable pkVal() {
        return this.autoid;
    }

}
