package com.liquidnet.service.kylin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * <p>
 * 退款图片
 * </p>
 *
 * @author liquidnet
 * @since 2021-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class KylinOrderRefundPic implements Serializable  ,Cloneable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "mid", type = IdType.AUTO)
    private Integer mid;

    /**
     * refund_pic_id
     */
    private String refundPicId;

    /**
     * 订单退款表id
     */
    private String orderRefundsId;

    /**
     * 图片地址
     */
    private String picUrl;

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

    /**
     * 修改时间
     */
    private LocalDateTime updatedAt;

    private static final KylinOrderRefundPic obj = new KylinOrderRefundPic();
    public static KylinOrderRefundPic getNew() {
        try {
            return (KylinOrderRefundPic) obj.clone();
        } catch (CloneNotSupportedException e) {
            return new KylinOrderRefundPic();
        }
    }
}
