using Ropin.Inspection.Common.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model.ViewModel
{
    public class ReportViewModel : BaseViewModel
    {
        //private IEnumerable<FirePreventionWeekRecordViewModel> firePreventionWeekRecord;
        public Guid G_ID { get; set; }
        public string C_StoreCode { get; set; }
        public string C_Name { get; set; }
        public int I_Type { get; set; }
        public string C_GroupName { get; set; }
        public DateTime D_Start { get; set; }
        public DateTime D_End { get; set; }
        public DateTime D_CreateTime { get; set; }
        public string C_Data { get; set; }
        public string C_Remark { get; set; }
        public string C_Status { get; set; }
        //public IEnumerable<FirePreventionWeekRecordViewModel> FirePreventionWeekRecord 
        //{
        //    set
        //    {
        //        if (string.IsNullOrEmpty(C_Data))
        //        {
        //            firePreventionWeekRecord = JsonHelper.ParseFormByJson<IEnumerable<FirePreventionWeekRecordViewModel>>(C_Data);
        //        }
        //    }
        //    get
        //    {
        //        return firePreventionWeekRecord;
        //    }
        //}
    }
}