package com.dji.sample.wayline.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author huiqing.jiang
 * @version 0.3
 * @date 2024/9/20
 */
@Data
@TableName("wayline_point")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WaylinePointEntity implements Serializable {

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

    @TableField("wayline_id")
    private String waylineId;

    @TableField("folder_id")
    private String folderId;

    @TableField("point_index")
    private String pointIndex;

    @TableField("longitude")
    private Double longitude;

    @TableField("latitude")
    private Double latitude;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Long createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;

}
