package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/*
 *项目名: netflix
 *文件名: UserDistributePopularize
 *创建者: JavaZou
 *创建时间:2023/5/15 15:55
 */
@Getter
@Setter
public class UserDistributePopularize extends BaseEntity{
	private Long userId;

	@NotEmpty(message = "分销链接名称必填")
	private String name;

	private String code;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Long goodsId;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Long skuId;

	private String remark;

	/**
	 * 其他网址标识
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String otherUrl;

	private Boolean deleted;
}
