package com.sqx.modules.pay.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.sqx.modules.coupon.entity.Coupon;
import lombok.Data;

import java.io.Serializable;

/**
 * @description pay_classify_detail
 * @author caolei
 * @date 2024/06/18
 */
@Data
@TableName("pay_classify_detail")
public class PayClassifyDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 充值分类子表id
     */
    private Long payClassifyDetailId;
    /**
     * 充值分类id
     */
    private Long payClassifyId;

    /**
     * 优惠券
     */
    private Long couponId;


    private String couponName;

    @TableField(exist = false)
    private Coupon coupon;

    private Integer giveNum;

    /**
     * 时间
     */
    private String createTime;

    public PayClassifyDetail() {}
}
