package com.microservices.zone.common.domain;

import com.microservices.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 特色专区用户浏览对象 zone_visits
 *
 * @author otto
 * @date 2024-11-26
 */
@Data
public class ZoneVisits extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户浏览主键
     */
    private Long id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 浏览用户UUID
     */
    @ApiModelProperty(value = "浏览用户UUID")
    @NotNull(message = "浏览用户UUID不能为空")
    private String uuid;

    /**
     * 浏览地址
     */
    @ApiModelProperty(value = "浏览地址")
    @NotNull(message = "浏览地址不能为空")
    private String url;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注(JSON字符串，可传用户ip、用户浏览器、用户系统类型等)")
    private String remark;
}
