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

namespace OpenAuth.App.ServiceApp.Request
{
    public class AddOrUpdateDroneCaseInfoReq
    {
        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 DroneCaseinfo 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; }

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

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

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

        /// <summary>
        /// 数据库id
        /// </summary>
        public string[] databaseid { get; set; }

        public List<string> subjectkeys { get; set; }

    }

    public class AddOrUpdateDroneCaseInfoReqExt : AddOrUpdateDroneCaseInfoReq
    {
        public decimal? lng { get; set; }
        public decimal? lat { get; set; }
    }
}
