using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model
{

    public class TmtnDevOpsViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_SpotCode { get; set; }
        public string C_ExamineBy { get; set; }
        public string C_ExamineOn { get; set; }
        public string C_Remark { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public Guid? C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }

        public IList<string> FilePaths { get; set; }

        public string C_DevStoreCode { get; set; }
        public string C_DevStoreName { get; set; }

    }
    public class TmtnDevOpsRecordViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_SpotDevOpsContentCode { get; set; }
        public string C_Record { get; set; }             
        public string C_Remark { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public Guid? C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }
    }
    public class TmtnDevOpsDetailViewModel : BaseViewModel
    {
        public string C_DevOpsCode { get; set; }
        public string C_DevStoreCode { get; set; }
        public string DevStoreName { get; set; }
        public string DevStoreNumberCode { get; set; }
        public string C_OpsTempCode { get; set; }
        public string C_PlanTempCode { get; set; }
        public string C_RepairTempCode { get; set; }
        public string C_RunTempCode { get; set; }
        public string C_Name { get; set; }
        public string C_Number { get; set; }
        public string C_Position { get; set; }
        public string C_ImageUrl { get; set; }
        public string C_CreateByName { get; set; }
        
        public DateTime D_CreateOn { get; set; }
        public string C_Status { get; set; }

        public string DevOpsName { get; set; }

        public string DevOpsStatus { get; set; }
    }
    public class TmtnDevOpsRecordDetailViewModel : BaseViewModel
    {
        public string C_DevStoreCode { get; set; }
        public string DevStoreName { get; set; }
        public string DevStoreNumberCode { get; set; }


        public string C_ID { get; set; }

        public Guid C_SpotCode { get; set; }

        public Guid C_CreateBy { get; set; }

        public DateTime D_CreateOn { get; set; }
        public Guid C_LastUpdatedBy { get; set; }
        public string C_CreateByName { get; set; }
        public DateTime D_LastUpdatedOn { get; set; }
        public string C_LastUpdatedByName { get; set; }
        public string C_Status { get; set; }

        public string C_Number { get; set; }

        public string C_Name { get; set; }

        public string C_Position { get; set; }
        /// <summary>
        /// 二维码编号
        /// </summary>

        public string C_QRCode { get; set; }

        public string C_GPS { get; set; }

        public string C_Remark { get; set; }

        public string C_ImageUrl { get; set; }
        public string C_SolidWaste{ get; set; }
}

    public class TmtnDevOpsRecordWithImageViewModel
    {
        public string C_ID { get; set; }
        public string C_SpotDevOpsContentCode { get; set; }
        public string C_Record { get; set; }

        public string C_Remark { get; set; }

        public Guid C_CreateBy { get; set; }

        public DateTime D_CreateOn { get; set; }

        public Guid? C_LastUpdatedBy { get; set; }

        public DateTime? D_LastUpdatedOn { get; set; }

        public string C_Status { get; set; }


        /// <summary>
        /// 内容报警等级
        /// </summary>
        public string C_AlarmLevel { get; set; }
        /// <summary>
        /// 内容名称
        /// </summary>
        public string C_Name { get; set; }

        public string C_RecordImageId { get; set; }
        public string C_ImageURL { get; set; }
        public string RecordImageStatus { get; set; }
        public string RecordImageName { get; set; }

        /// <summary>
        /// 上报人员姓名
        /// </summary>
        public string ReportUserName { get; set; }
        public string C_SolidWaste { get; set; }
        public string DevOpsName { get; set; }

    }

    public class TmtnDevOpsRecordDetailWithImageViewModel
    {
        public string C_ID { get; set; }
        public string C_SpotDevOpsContentCode { get; set; }
        public string C_Record { get; set; }

        public string C_Remark { get; set; }

        public Guid C_CreateBy { get; set; }

        public DateTime D_CreateOn { get; set; }

        public Guid? C_LastUpdatedBy { get; set; }

        public DateTime? D_LastUpdatedOn { get; set; }

        public string C_Status { get; set; }


        /// <summary>
        /// 内容报警等级
        /// </summary>
        public string C_AlarmLevel { get; set; }
        /// <summary>
        /// 内容名称
        /// </summary>
        public string C_Name { get; set; }


        /// <summary>
        /// 上报人员姓名
        /// </summary>
        public string ReportUserName { get; set; }
        public string DevOpsName { get; set; }

        public IEnumerable<MtnRecordImage> RecordImageList { get; set; }

        public SolidWaste DevOpsRecordSolidWaste { get; set; }
    }
    public class MtnRecordImage
    {
        public string C_RecordImageId { get; set; }
        public string C_ImageURL { get; set; }
        public string RecordImageStatus { get; set; }
        public string RecordImageName { get; set; }
    }
}