package org.dromara.main.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

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

/**
 * 企业提现申请对象 main_withdraw
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("main_withdraw")
public class Withdraw extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private String withdrawNo;

    private Long companyId;

    private Long accountId;

    private BigDecimal withdrawAmount;

    private Integer withdrawStatus;

    private String tradeNo;

    private Long auditorId;

    private Date auditTime;

    private String auditRemark;

    private String failReason;

    private Date transferTime;

    @TableLogic
    private String delFlag;
}
