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.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("main_audit")
public class MainAudit extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    private Integer auditType;
    private Long targetId;
    private Integer auditResult;
    private String auditRemark;
    private BigDecimal deposit;
    private BigDecimal finalPayment;
    private Date auditTime;
    private Long auditBy;
    private String tenantId;

    @TableLogic
    private String delFlag;
}
