package com.cyksj.model.request;

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

import javax.validation.constraints.NotNull;
import java.util.List;

/*
 *项目名: netflix
 *文件名: UserDistributeReq
 *创建者: JavaZou
 *创建时间:2022/11/14 12:15
 */
@Getter
@Setter
public class UserDistributeReq {

	private Long id;

	@NotNull(message = "请添加用户")
	private Long userId;

	/**
	 * 商务人员id
	 */
	private Long businessId;

	/**
	 * 分类
	 */
	private String type;

	private String remark;

	/**
	 * 平台分销比例
	 */
	private List<UserPlatDistributeRate> rates;

	/**
	 * 平台规格分销比例
	 */
	private List<UserPlatSkuDistributeRate> skuRates;

	/**
	 * 渠道关联优惠券 列表
	 */
	private List<CouponDistributePopularize> couponRelates;

	/**
	 * 渠道目标额
	 */
	private List<UserDistributeTargetAlert> targets;

	/**
	 * 设备分销
	 */
	private UserDistributeEquipment epRate;

	/**
	 * 上级渠道
	 */
	private UserDistributeSub userDistributeSub;
}
