package com.cyksj.model.dto;

import com.cyksj.model.entity.Coupon;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/*
 *项目名: netflix
 *文件名: CouponPopularizeDto
 *创建者: JavaZou
 *创建时间:2022/11/21 15:03
 */
@Getter
@Setter
public class CouponPopularizeDto {
	/**
	 * 优惠券id
	 */
	private Long couponId;

	private String goodsSkuIds;

	private Coupon.Type type;

	/**
	 * 可用满减卷金额条件
	 */
	private BigDecimal reduceCondition;

	private Coupon.UseScope useScope;

	private Coupon.Scope scope;

	private Long distributeId;

	/**
	 * 优惠券推广者关联id
	 */
	private Long popularizeId;

	/**
	 * 是否是普通推广
	 */
	private Boolean isGeneral;

	private Long userId;

	/**
	 * 优惠券推广者关联优惠券id
	 */
	private Long popularizeCouponId;

	private Coupon.GoodsType goodsType;

	private BigDecimal reduceMoney;

	private BigDecimal discount;

	private Integer validDays;

	private Integer validHours;

	private Boolean isValidTime;

	private Date validStartTime;

	private Date validEndTime;
}
