68 lines
1.8 KiB
C#
68 lines
1.8 KiB
C#
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 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>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工作区
|
|
/// </summary>
|
|
public string work_area { get; set; }
|
|
|
|
public Sugar_Drone_caseinfo 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 AddOrUpdateDroneCaseInfoReqExt : AddOrUpdateDroneCaseInfoReq
|
|
{
|
|
public decimal? lng { get; set; }
|
|
public decimal? lat { get; set; }
|
|
}
|
|
}
|