package com.dji.sample.manage.model.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author guan
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FleetDTO implements Serializable {

    private Integer id;

    private String fleetSn;

    private String fleetName;

    private String workspaceId;

    private Long createTime;

    private Long updateTime;

    private String fleetDesc;

    private String userId;

    private String nickname;

    @JsonProperty(value = "user_list")
    private List<FleetUserDTO> userList;

    @JsonProperty(value = "device_list")
    private List<FleetDeviceDTO> deviceList;

}
