package org.wfc.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.wfc.common.mybatis.domain.BaseData;

/**
 * <p>
 * 用户平台_话单明细表
 * </p>
 *
 * @author cyc
 * @since 2024-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("u_cdr_history")
@Schema(name = "UCdrHistory", description = "用户平台_话单明细表")
public class UCdrHistory extends BaseData {

    private static final long serialVersionUID = 1L;

    @Schema(description = "CDR ID")
    private Long cdrId;

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

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

    @Schema(description = "Start time")
    private Long startTime;

    @Schema(description = "End time")
    private Long endTime;

    @Schema(description = "Duration(s)")
    private Long duration;

    @Schema(description = "useType")
    private Integer useType;

    @Schema(description = "useId")
    private Long useId;
}
