package cn.ysk.cashier.mybatis.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 活动赠送商品表(TbActivateProduct)表实体类
 *
 * @author ww
 * @since 2024-08-20 11:27:40
 */
@Data
@SuppressWarnings("serial")
public class TbCouponProduct extends Model<TbCouponProduct> {
    private Integer id;
    //活动Id
    private Integer couponId;
    //商品id
    private Integer productId;
    //数量
    private Integer num;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String coverImg;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

}

