public static ReportConfigModel ToModel(this ReportConfig entity)
        {
            var model = new ReportConfigModel()
            {
                Id          = entity.Id,
                ReportId    = entity.ReportId,
                Config      = entity.Config ?? string.Empty,
                Value       = entity.Value ?? string.Empty,
                CreatedTime = entity.CreatedTime
            };

            return(model);
        }
        public static ReportConfig ToEntity(this ReportConfigModel model)
        {
            var entity = new ReportConfig()
            {
                Id          = model.Id,
                ReportId    = model.ReportId,
                Config      = model.Config,
                Value       = model.Value,
                CreatedTime = model.CreatedTime
            };

            return(entity);
        }