package org.wfc.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.wfc.common.mybatis.domain.BaseData;

/**
 * <p>
 * 用户平台_用户话单表
 * </p>
 *
 * @author sys
 * @since 2025-01-03
 */
@Getter
@Setter
@TableName("u_cdr")
@Schema(name = "UCdr", description = "用户平台_用户话单表")
public class UCdr extends BaseData {

    private static final long serialVersionUID = 1L;

    @Schema(description = "User ID link to u_user")
    private Long userId;

    @Schema(description = "Client ID")
    private Long clientId;

    @Schema(description = "Device ID")
    private Long deviceId;

    @Schema(description = "Wireless SSID name ")
    private String ssid;

    @Schema(description = "tx rate ")
    private Long rxRate;

    @Schema(description = "tx rate")
    private Long txRate;

    @Schema(description = "Number of downstream packets.")
    private Long downPacket;

    @Schema(description = "Number of upstream packets.	")
    private Long upPacket;

    @Schema(description = "Downstream traffic (Byte)")
    private Long trafficDown;

    @Schema(description = "Upstream traffic (Byte)")
    private Long trafficUp;

    @Schema(description = "Rate limit profile ID. ")
    private String rateLimitProfileId;

    @Schema(description = "Up time (unit: s).")
    private Long upTime;

    @Schema(description = "Last found time, timestamp (ms).	")
    private Long lastSeenTime;

    @Schema(description = "Activity download speed (Bytes/s)")
    private Long activity;
}
