package com.imdroid.secapi.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("traffic_records")
public class TrafficRecord {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String iccid;

    private Date recordtime;

    private Integer remaining;  // 剩余流量(MB×1000)
    private Integer used;       // 已用流量(MB×1000)
    private Integer total;      // 总流量(MB×1000)
}