package com.sqx.modules.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

 /**
 * 活动商家
 * @author : codingliang
 * @date : 2024-6-17
 */
@ApiModel(value = "活动商家")
@TableName("activity_shop")
@Data
public class ActivityShop implements Serializable {
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @ApiModelProperty(name = "活动id")
    private Long activityId;
    
    @ApiModelProperty(name = "店铺id")
    private Long shopId;
    
    @ApiModelProperty(name = "适用类型;1无限制、2仅针对第一次下单")
    private String suitType;
    
    @ApiModelProperty(name = "限制类型;1无限制、2数量限制")
    private String limitType;
    
    @ApiModelProperty(name = "限制数量;limit为2时该值不能为空，每天限制使用的数量")
    private Integer limitValue;
    
}