using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.App.Request
{
    /// <summary>
    /// 无人机案件添加实体
    /// </summary>
    public class AddOrUpdateDroneCaseInfoReqCurrent
    {
        public void Init()
        {
            if (this.pic_list == null) pic_list = new List<string>();
            if (this.video_list == null) video_list = new List<string>();
            if (this.relationCaseNo == null) relationCaseNo = new List<string>();
            if (this.tags == null) tags = new List<string>();
        }

     

        public object info { get; set; }

        /// <summary>
        /// 图片列表
        /// </summary>
        public List<string> pic_list { get; set; }

        /// <summary>
        /// 视频列表
        /// </summary>
        public List<string> video_list { get; set; }

        /// <summary>
        /// 关联案件
        /// </summary>
        public List<string> relationCaseNo { get; set; } = new List<string>();

        /// <summary>
        /// 案件标签
        /// </summary>
        public List<string> tags { get; set; } = new List<string>();

        /// <summary>
        /// 图片列表
        /// </summary>
        public List<DroneFiles> pics { get; set; }

        /// <summary>
        /// 视频列表
        /// </summary>
        public List<DroneFiles> videos { get; set; }
    }

    public class AddOrUpdateDroneCaseInfoReqExtCurrent : AddOrUpdateDroneCaseInfoReqCurrent
    {
        public decimal? lng { get; set; }
        public decimal? lat { get; set; }
    }
}