package com.huiju.estateagents.redpack.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账户退款申请 
 * </p>
 *
 * @author fxf
 * @since 2020-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TaOrgRefundApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 申请ID
     */
    @TableId(value = "refund_id", type = IdType.UUID)
    private String refundId;

    /**
     * 申请公司
     */
    private Integer orgId;

    /**
     * 申请人
     */
    private Integer userId;

    /**
     * 申请人名称
     */
    private String userName;

    /**
     * 申请原因
     */
    private String reason;

    /**
     * 退款金额
     */
    private Integer amount;

    /**
     * 审核人
     */
    private Integer auditorId;

    /**
     * 审核人名称
     */
    private String auditorName;

    /**
     * 审核状态 未审核,同意,不同意
     */
    private String auditStatus;

    /**
     * 审核意见
     */
    private String auditResult;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 冻结ID
     */
    private Integer blockedId;

    /**
     * 状态
     */
    private Integer status;

    @TableField(exist = false)
    private List<String> certificateList;
}
