package com.qnfhq.modules.c2c.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * c2c用户和商家关注关系
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-29
 */
@Data
@Schema(name = "c2c用户和商家关注关系")
public class UserFollowsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "")
	private Long id;

	@SchemaProperty(name = "关注者ID (粉丝)")
	private Long followerId;

	@SchemaProperty(name = "被关注者 ID (博主)")
    @NotNull(message="{NotNull.followingId}")//被关注者ID不能空
	private Long followingId;

	@SchemaProperty(name = "")
	private Date createTime;


}
