package shop.alien.entity.store.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 优惠券商户发放好友优惠券关系表
 * </p>
 *
 * @author ssk
 * @since 2025-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "LifeDiscountCouponStoreFriend对象", description = "优惠券商户发放好友优惠券关系表	")
public class LifeDiscountCouponStoreFriendVo extends Model<LifeDiscountCouponStoreFriendVo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "店铺用户id")
    private Integer storeUserId;

    @ApiModelProperty(value = "券id")
    private Integer couponId;

    @ApiModelProperty(value = "好友店铺姓名")
    private String friendStoreUserName;

    @ApiModelProperty(value = "好友店铺id")
    private Integer friendStoreUserId;

    @ApiModelProperty(value = "好友店铺可用优惠券列表")
    private List<LifeDiscountCouponVo> friendStoreCouponList;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
