package com.dji.sample.media.model;

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

import java.io.Serializable;

/**
 * @author hqjiang
 * @version 1.0
 * @date 2024/7/2
 */
@TableName(value = "media_dir")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MediaDirEntity implements Serializable {

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

    @TableField("workspace_id")
    private String workspaceId;

    @TableField("dir_name")
    private String dirName;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("device_name")
    private String deviceName;

    @TableField("payload")
    private String payload;

    @TableField("wayline_name")
    private String waylineName;

    @TableField("template_type")
    private String templateType;

    @TableField("create_time")
    private Long createTime;

    @TableField("username")
    private String username;
}

