package com.imdroid.secapi.dto;

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

import java.time.LocalDateTime;

/**
 * GNSS收发统计消息，每个工作周期结束的时候统计一次
 *
 * @author LiGang
 */
@Data
@TableName(value = "resendrecords")
public class ResendRecord {
    static public final short STATE_FWD_OK = 0;
    static public final short STATE_FWD_FAILED = 1;
    static public final short STATE_BREAK_POINT = 2;
    @TableId(value = "id", type = IdType.AUTO)
    Long id;
    Integer tenantid;
    String deviceid;
    String projectid;
    LocalDateTime createtime;
    LocalDateTime starttime;
    LocalDateTime endtime;
    String fwd_group_id;
    Short state;

}
