package com.dji.sample.droneairport.model.Entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor @TableName(value = "db_info") public class DbUploadEntity { @TableField("task_id") private String taskId; @TableField("code") private String regioncode; @TableField("size") private long size; @TableField("count") private int count; @TableField("attachment") private int attachmentCount; @TableField("extension") private String extension; @TableField("hash") private String hash; @TableField(value = "timestamp", fill = FieldFill.INSERT) private Long timestamp; @TableField("url") private String url; @TableField("decrypt") private String decrypt; @TableField("data_sign") private String dataSign; }