{
"propertyTemplates":[
		{
			"placeholder" : "{{Property_Enum_Variable_Here}}",
			"condition" : "{{Property_Advanced_Filter_Here}} == true",
			"templates" : [
					{
					"type" : "enum",
					"content" : "var {{property_Name_Here}}Filter = input.{{Property_Name_Here}}Filter.HasValue
                        ? ({{Property_Type_Here}}) input.{{Property_Name_Here}}Filter
                        : default;			
					"
					}
				] 
		},
		{
			"placeholder" : "{{Property_Query_Filter_Here}}",
			"condition" : "{{Property_Advanced_Filter_Here}} == true",
			"templates" : [
					{
					"type" : "DateTime",
					"content" : "
						.WhereIf(input.Min{{Property_Name_Here}}Filter != null, e => e.{{Property_Name_Here}} >= input.Min{{Property_Name_Here}}Filter)
						.WhereIf(input.Max{{Property_Name_Here}}Filter != null, e => e.{{Property_Name_Here}} <= input.Max{{Property_Name_Here}}Filter)"
					},
					{
					"type" : "numeric",
					"content" : "
						.WhereIf(input.Min{{Property_Name_Here}}Filter != null, e => e.{{Property_Name_Here}} >= input.Min{{Property_Name_Here}}Filter)
						.WhereIf(input.Max{{Property_Name_Here}}Filter != null, e => e.{{Property_Name_Here}} <= input.Max{{Property_Name_Here}}Filter)"
					},
					{
					"type" : "enum",
					"content" : "
						.WhereIf(input.{{Property_Name_Here}}Filter.HasValue && input.{{Property_Name_Here}}Filter > -1, e => e.{{Property_Name_Here}} == {{property_Name_Here}}Filter)"
					},
					{
					"type" : "string",
					"content" : "
						.WhereIf(!string.IsNullOrWhiteSpace(input.{{Property_Name_Here}}Filter),  e => e.{{Property_Name_Here}}.Contains(input.{{Property_Name_Here}}Filter))"
					},
					{
					"type" : "bool",
					"content" : "
						.WhereIf(input.{{Property_Name_Here}}Filter.HasValue && input.{{Property_Name_Here}}Filter > -1,  e => (input.{{Property_Name_Here}}Filter == 1 && e.{{Property_Name_Here}}) || (input.{{Property_Name_Here}}Filter == 0 && !e.{{Property_Name_Here}}) )"
					},
					{
					"type" : "file",
					"content" : ""
					},
					{
					"type" : "default",
					"content" : "
						.WhereIf(!string.IsNullOrWhiteSpace(input.{{Property_Name_Here}}Filter.ToString()),  e => e.{{Property_Name_Here}}.ToString() == input.{{Property_Name_Here}}Filter.ToString())"
					}
				]
		},
		{
			"placeholder" : "{{Property_Looped_Template_Here}}",
			"templates" : [
					{
					"type" : "string",
					"content" : " || e.{{Property_Name_Here}}.Contains(input.Filter)"
					}
				]
		},
		{
			"placeholder" : "{{Property_Manuel_Mapping_Here}}",
			"condition" : "{{Property_Listed_Here}} == true",
			"templates" : [					
					{
					"type" : "default",
					"content" : "
                                o.{{Property_Name_Here}},"
					}
				]
		},
		{
			"placeholder" : "{{Property_Manuel_Mapping_Inside_Here}}",
			"condition" : "{{Property_Listed_Here}} == true",
			"templates" : [
					{
					"type" : "default",
					"content" : "
                                {{Property_Name_Here}} = o.{{Property_Name_Here}},"
					}
				]
		},
		{
            "placeholder" : "{{Remove_File_Prop_Here}}",            
            "templates" : [
                    {
                    "type" : "file",
                    "content" : "
                    [AbpAuthorize(AppPermissions.{{Permission_Name_Here}}_Edit)]
                    public virtual async Task Remove{{Property_Name_Here}}File(EntityDto{{Primary_Key_Inside_Tag_Here}} input)
                    {
                        var {{entity_Name_Here}} = await _{{entity_Name_Here}}Repository.FirstOrDefaultAsync(input.Id);
                        if ({{entity_Name_Here}} == null)
                        {
                            throw new UserFriendlyException(L(\"EntityNotFound\"));
                        }
            
                        if (!{{entity_Name_Here}}.{{Property_Name_Here}}.HasValue)
                        {
                            throw new UserFriendlyException(L(\"FileNotFound\"));
                        }
            
                        await _binaryObjectManager.DeleteAsync({{entity_Name_Here}}.{{Property_Name_Here}}.Value);
                        {{entity_Name_Here}}.{{Property_Name_Here}} = null;
                    }        
        "
                    }
                ]
        },
		{
			"placeholder" : "{{File_Prop_Get_File_Name_Here}}",
			"condition" : "{{Project_Version_Here}} >= 100100 && {{Property_Listed_Here}} == true",
			"templates" : [
					{
					"type" : "file",
					"content" : "res.{{Entity_Name_Here}}.{{Property_Name_Here}}FileName = await GetBinaryFileName(o.{{Property_Name_Here}});
					"
					}
				]
		},
		{
			"placeholder" : "{{File_Prop_Get_File_Name_For_Edit_Here}}",
			"condition" : "{{Project_Version_Here}} >= 100100 && {{Property_Listed_Here}} == true",
			"templates" : [
					{
					"type" : "file",
					"content" : "
					output.{{Property_Name_Here}}FileName = await GetBinaryFileName({{entity_Name_Here}}.{{Property_Name_Here}});
					"
					}
				]
		},
		{
			"placeholder" : "{{File_Prop_Get_File_Name_For_View_Here}}",
			"condition" : "{{Project_Version_Here}} >= 100100 && {{Property_Listed_Here}} == true",
			"templates" : [
					{
					"type" : "file",
					"content" : "
					output.{{Entity_Name_Here}}.{{Property_Name_Here}}FileName = await GetBinaryFileName({{entity_Name_Here}}.{{Property_Name_Here}});
					"
					}
				]
		},
		{
			"placeholder" : "{{Use_Get_Binary_Object_From_Cache_Here}}",
			"templates" : [
					{
					"type" : "file",
					"content" : "{{entity_Name_Here}}.{{Property_Name_Here}} = await GetBinaryObjectFromCache(input.{{Property_Name_Here}}Token);
					"
					}
				]
		},				
	],
"navigationPropertyTemplates":[
		{
			"placeholder" : "{{NP_Loop_Include_In_GetList_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"preventDuplicate" : true,
					"content" : "
						.Include( e => e.{{NP_Object_Name_Here}}Fk)"
					}
				]
		},
        {
            "placeholder" : "{{NP_Manuel_Mapping_Inside_Here}}",
            "templates" : [					
                    {
                    "relation" : "single",
                    "content" : "
                                {{NP_Name_Here}} = o.{{NP_Name_Here}},"
                    }
                ]
        },
        {
            "placeholder" : "{{NP_Excel_Export_Looped_Map_Join_Here}}",
            "templates" : [					
                    {
                    "relation" : "single",
                    "content" : ",
                                {{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}} = o.{{NP_Object_Name_Here}}Fk.{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}}"
                    }
                ]
        },       
		{
			"placeholder" : "{{NP_Query_Filter_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"preventDuplicate" : true,
					"content" : "
						.WhereIf(!string.IsNullOrWhiteSpace(input.{{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}}Filter), e => {{NP_Filter_By_Display_Property_Name_Here}})"
					}
				]
		},
        {
            "placeholder" : "{{Excel_Export_Master_Detail_Id_Filter_Here}}",
            "templates" : [
                    {
                    "relation" : "single",
                    "preventDuplicate" : true,
                    "content" : "
                        .WhereIf(input.{{NP_Name_Here}}Filter.HasValue, e => e.{{NP_Name_Here}} == input.{{NP_Name_Here}}Filter)"
                    }
                ]
        },
		{
			"placeholder" : "{{NP_Looped_Declaration_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"preventDuplicate" : true,
					"content" : "private readonly IRepository<{{NP_Foreign_Entity_Name_Here}},{{NP_Id_Type_Here}}> _lookup_{{nP_Foreign_Entity_Name_Here}}Repository;
		 "
					}
				]
		},
		{
			"placeholder" : "{{NP_Looped_Ctor_Parameter_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"preventDuplicate" : true,
					"content" : ", IRepository<{{NP_Foreign_Entity_Name_Here}}, {{NP_Id_Type_Here}}> lookup_{{nP_Foreign_Entity_Name_Here}}Repository"
					}
				]
		},
		{
			"placeholder" : "{{NP_Looped_Ctor_Initialize_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"preventDuplicate" : true,
					"content" : "_lookup_{{nP_Foreign_Entity_Name_Here}}Repository = lookup_{{nP_Foreign_Entity_Name_Here}}Repository;
		"
					}
				]
		},
		{
			"placeholder" : "{{NP_Looped_Query_Join_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"content" : "
                         join o{{Loop_Index}} in _lookup_{{nP_Foreign_Entity_Name_Here}}Repository.GetAll() on o.{{NP_Name_Here}} equals o{{Loop_Index}}.Id into j{{Loop_Index}}
                         from s{{Loop_Index}} in j{{Loop_Index}}.DefaultIfEmpty()
                         "
					}
				]
		},
		{
			"placeholder" : "{{NP_Looped_Map_Join_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"content" : ",
                         	{{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}} = {{NP_Display_Properties_For_Looped_Map_Join_Implementation_Here}}"
					}
				]
		},
		{
			"placeholder" : "{{NP_Looped_Map_Join_Inside_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"content" : ",
                         	{{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}} = o.{{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}}"
					}
				]
		},
		{
			"placeholder" : "{{NP_Loop_Include_In_Get_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"content" : "

		    if (output.{{Entity_Name_Here}}.{{NP_Name_Here}} != null)
            {
                var _lookup{{NP_Foreign_Entity_Name_Here}} = await _lookup_{{nP_Foreign_Entity_Name_Here}}Repository.FirstOrDefaultAsync(({{NP_Id_Type_Here}})output.{{Entity_Name_Here}}.{{NP_Name_Here}});
                output.{{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}} = {{NP_Loop_Include_In_Get_Output_Definition_Here}};
            }"
					}
				]
		},
		{
			"placeholder" : "{{NP_Using_Looped_Template_Here}}",
			"preventDuplicate":true,
			"templates" : [
					{
					"relation" : "single",
					"content" : "using {{NP_Namespace_Here}};
"
					},
					{
					"relation" : "multi",
					"content" : "using {{NP_Namespace_Here}};
"
					},
					{
					"relation" : "single",
					"viewType": "Dropdown",						
					"preventDuplicate":true,
					"content" : "using {{NP_Namespace_Here}};
"
					},
				]
		},
		{
			"placeholder" : "{{NP_Looped_GetAllForLookupTable_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"preventDuplicate":true,
					"viewType": "LookupTable",
					"content" : "

		[AbpAuthorize(AppPermissions.{{Permission_Name_Here}})]
         public async Task<PagedResultDto<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>> GetAll{{NP_Foreign_Entity_Name_Here}}ForLookupTable(GetAllForLookupTableInput input)
         {
             var query = _lookup_{{nP_Foreign_Entity_Name_Here}}Repository.GetAll().WhereIf(
                    !string.IsNullOrWhiteSpace(input.Filter),
                   e=> {{NP_Looped_GetAllForLookupTable_Display_Name_Query_Here}}
                );

            var totalCount = await query.CountAsync();

            var {{nP_Foreign_Entity_Name_Here}}List = await query
                .PageBy(input)
                .ToListAsync();

			var lookupTableDtoList = new List<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>();
			foreach(var {{nP_Foreign_Entity_Name_Here}} in {{nP_Foreign_Entity_Name_Here}}List){
				lookupTableDtoList.Add(new {{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto
				{
					Id = {{nP_Foreign_Entity_Name_Here}}.Id{{NP_Id_Type_ToStringIfNeeded_Here}},
					DisplayName =  {{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Lookup_Table_Here}}
				});
			}

            return new PagedResultDto<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>(
                totalCount,
                lookupTableDtoList
            );
         }"
		},
		{
		"relation" : "single",
		"preventDuplicate":true,
		"viewType": "Typeahead",
		"content" : "

		[AbpAuthorize(AppPermissions.{{Permission_Name_Here}})]
         public async Task<PagedResultDto<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>> GetAll{{NP_Foreign_Entity_Name_Here}}ForLookupTable(GetAllForLookupTableInput input)
         {
             var query = _lookup_{{nP_Foreign_Entity_Name_Here}}Repository.GetAll().WhereIf(
                    !string.IsNullOrWhiteSpace(input.Filter),
                   e=> {{NP_Looped_GetAllForLookupTable_Display_Name_Query_Here}}
                );

            var totalCount = await query.CountAsync();

            var {{nP_Foreign_Entity_Name_Here}}List = await query
                .PageBy(input)
                .ToListAsync();

			var lookupTableDtoList = new List<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>();
			foreach(var {{nP_Foreign_Entity_Name_Here}} in {{nP_Foreign_Entity_Name_Here}}List){
				lookupTableDtoList.Add(new {{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto
				{
					Id = {{nP_Foreign_Entity_Name_Here}}.Id{{NP_Id_Type_ToStringIfNeeded_Here}},
					DisplayName =  {{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Lookup_Table_Here}}
				});
			}

            return new PagedResultDto<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>(
                totalCount,
                lookupTableDtoList
            );
         }"
					},
					{
						"relation" : "single",
						"preventDuplicate":true,
						"viewType": "Dropdown",					
						"content" : "
			[AbpAuthorize(AppPermissions.{{Permission_Name_Here}})]
			public async Task<List<{{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto>> GetAll{{NP_Foreign_Entity_Name_Here}}ForTableDropdown()
			{
				return await _lookup_{{nP_Foreign_Entity_Name_Here}}Repository.GetAll()
					.Select({{nP_Foreign_Entity_Name_Here}} => new {{Entity_Name_Here}}{{NP_Foreign_Entity_Name_Here}}LookupTableDto
					{
						Id = {{nP_Foreign_Entity_Name_Here}}.Id{{NP_Id_Type_ToStringIfNeeded_Here}},
						DisplayName = {{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Dropdown_Table_Here}}
					}).ToListAsync();
			}
							"
					}
				]
		}		
	],
"enumTemplates":[
		{
			"placeholder" : "{{Enum_Using_Looped_Template_Here}}",
			"preventDuplicate":true,
			"content" : "using {{Enum_Namespace_Here}};
"
		}
	],
"conditionalTemplates":[
		{
			"placeholder": "{{Primary_Key_Inside_Tag_Here}}",
			"condition": "{{Primary_Key_Here}} != 'int'",
			"content": "<{{Primary_Key_Here}}>"
		},
		{
			"placeholder": "{{Primary_Key_With_Comma_Here}}",
			"condition": "{{Primary_Key_Here}} != 'int'",
			"content": ", {{Primary_Key_Here}}"
		},
		{
			"placeholder": "{{Set_Tenant_Id_Here}}",
			"condition": "{{Is_Available_To_Host_Here}} != true && {{Is_Available_To_Tenant_Here}} == true",
			"content": "
			if (AbpSession.TenantId != null)
			{
				{{entity_Name_Here}}.TenantId = (int) AbpSession.TenantId;
			}
		"
		},
		{
			"placeholder": "{{Set_Tenant_Id_Here}}",
			"condition": "{{Is_Available_To_Host_Here}} == true && {{Is_Available_To_Tenant_Here}} == true",
			"content": "
			if (AbpSession.TenantId != null)
			{
				{{entity_Name_Here}}.TenantId = (int?) AbpSession.TenantId;
			}
		"
		},		
		{
			"placeholder": "{{Get_Excel_Method_Here}}",
			"condition": "{{Create_Excel_Export_Here}} == true && {{Project_Version_Here}} < 130200",
			"content": "

		public virtual async Task<FileDto> Get{{Entity_Name_Plural_Here}}ToExcel(GetAll{{Entity_Name_Plural_Here}}ForExcelInput input)
         {
			{{Property_Enum_Variable_Here}}
			var filtered{{Entity_Name_Plural_Here}} = _{{entity_Name_Here}}Repository.GetAll(){{NP_Loop_Include_In_GetList_Here}}
						.WhereIf(!string.IsNullOrWhiteSpace(input.Filter), e => false {{Property_Looped_Template_Here}}){{Property_Query_Filter_Here}}{{NP_Query_Filter_Here}}{{Excel_Export_Master_Detail_Id_Filter_Here}};

			var query = from o in filtered{{Entity_Name_Plural_Here}}{{NP_Looped_Query_Join_Here}}
                         select new Get{{Entity_Name_Here}}ForViewDto() { 
							{{Entity_Name_Here}} = new {{Entity_Name_Here}}Dto
							{{{Property_Manuel_Mapping_Inside_Here}}{{NP_Manuel_Mapping_Inside_Here}}
                                Id = o.Id
							}{{NP_Excel_Export_Looped_Map_Join_Here}}
                         };
                            				 

            var {{entity_Name_Here}}ListDtos = await query.ToListAsync();

            return _{{entity_Name_Plural_Here}}ExcelExporter.ExportToFile({{entity_Name_Here}}ListDtos{{Excel_Select_Columns_Here}});
         }

"
		},
		{
			"placeholder": "{{Get_Excel_Method_Here}}",
			"condition": "{{Create_Excel_Export_Here}} == true && {{Project_Version_Here}} >= 130200",
			"content": "

		public virtual async Task<FileDto> Get{{Entity_Name_Plural_Here}}ToExcel(GetAll{{Entity_Name_Plural_Here}}ForExcelInput input)
         {
			{{Property_Enum_Variable_Here}}
			var filtered{{Entity_Name_Plural_Here}} = (await _{{entity_Name_Here}}Repository.GetAllReadonlyAsync()){{NP_Loop_Include_In_GetList_Here}}
						.WhereIf(!string.IsNullOrWhiteSpace(input.Filter), e => false {{Property_Looped_Template_Here}}){{Property_Query_Filter_Here}}{{NP_Query_Filter_Here}}{{Excel_Export_Master_Detail_Id_Filter_Here}};

			var query = (from o in filtered{{Entity_Name_Plural_Here}}{{NP_Looped_Query_Join_Here}}
                         select new Get{{Entity_Name_Here}}ForViewDto() { 
							{{Entity_Name_Here}} = new {{Entity_Name_Here}}Dto
							{{{Property_Manuel_Mapping_Inside_Here}}{{NP_Manuel_Mapping_Inside_Here}}
                                Id = o.Id
							}{{NP_Looped_Map_Join_Here}}
						 });

            var {{entity_Name_Here}}ListDtos = await query.ToListAsync();

            return _{{entity_Name_Plural_Here}}ExcelExporter.ExportToFile({{entity_Name_Here}}ListDtos{{Excel_Select_Columns_Here}});
         }

"
		},		
		{
			"placeholder": "{{Excel_Constructor_Parameter_Here}}",
			"condition": "{{Create_Excel_Export_Here}} == true",
			"content": ", I{{Entity_Name_Plural_Here}}ExcelExporter {{entity_Name_Plural_Here}}ExcelExporter"
		},
		{
			"placeholder": "{{Excel_Constructor_Init_Here}}",
			"condition": "{{Create_Excel_Export_Here}} == true",
			"content": "
			_{{entity_Name_Plural_Here}}ExcelExporter = {{entity_Name_Plural_Here}}ExcelExporter;"
		},		
		{
			"placeholder": "{{Excel_Declaration_Here}}",
			"condition": "{{Create_Excel_Export_Here}} == true",
			"content": "
		 private readonly I{{Entity_Name_Plural_Here}}ExcelExporter _{{entity_Name_Plural_Here}}ExcelExporter;"
		},
		{
			"placeholder": "{{Excel_Using_Statement_Here}}",
			"condition": "{{Create_Excel_Export_Here}} == true",
			"content": "
using {{Namespace_Here}}.{{Namespace_Relative_Full_Here}}.Exporting;"
		},
		{
			"placeholder": "{{Id_Null_Check_Here}}",
			"condition": "{{Primary_Key_Here}} != 'string'",
			"content": "input.Id == null"
		},
		{
			"placeholder": "{{Id_Null_Check_Here}}",
			"condition": "{{Primary_Key_Here}} == 'string'",
			"content": "input.Id.IsNullOrWhiteSpace()"
		},
		{
			"placeholder": "{{Set_String_Id_Here}}",
			"condition": "{{Primary_Key_Here}} == 'string'",
			"content": "

             if ({{entity_Name_Here}}.Id.IsNullOrWhiteSpace())
             {
                 {{entity_Name_Here}}.Id = Guid.NewGuid().ToString();
             }"
		},
		{
			"placeholder": "{{GetForView_Method_Here}}",
			"condition": "{{Create_View_Only_Here}} == true",
			"content": "
		 
		 public virtual async Task<Get{{Entity_Name_Here}}ForViewDto> Get{{Entity_Name_Here}}ForView({{Primary_Key_Here}} id)
         {
            var {{entity_Name_Here}} = await _{{entity_Name_Here}}Repository.GetAsync(id);

            var output = new Get{{Entity_Name_Here}}ForViewDto { {{Entity_Name_Here}} = ObjectMapper.Map<{{Entity_Name_Here}}Dto>({{entity_Name_Here}}) };{{NP_Loop_Include_In_Get_Here}}
			{{File_Prop_Get_File_Name_For_View_Here}}
            return output;
         }"
		},
		{
			"placeholder": "{{Get_Binary_Object_From_Cache_Here}}",
			"condition": "{{Has_File_Prop}} == true && {{Project_Version_Here}} >= 100300",
			"content": "
                protected virtual async Task<Guid?> GetBinaryObjectFromCache(string fileToken)
                {
                    if (fileToken.IsNullOrWhiteSpace())
                    {
                        return null;
                    }
        
                    var fileCache = _tempFileCacheManager.GetFileInfo(fileToken);
        
                    if (fileCache == null)
                    {
                        throw new UserFriendlyException(\"There is no such file with the token: \" + fileToken);
                    }
        
                    var storedFile = new BinaryObject(AbpSession.TenantId, fileCache.File, fileCache.FileName);
                    await _binaryObjectManager.SaveAsync(storedFile);
        
                    return storedFile.Id;
                }
                
                protected virtual async Task<string> GetBinaryFileName(Guid? fileId)
                {
                    if (!fileId.HasValue)
                    {
                        return null;
                    }
        
                    var file = await _binaryObjectManager.GetOrNullAsync(fileId.Value);
                    return file?.Description;
                }
		"
		},
		{
			"placeholder": "{{File_Prop_Ctor_Parameters_Here}}",
			"condition": "{{Has_File_Prop}} == true && {{Project_Version_Here}} >= 100300",
			"content": ", ITempFileCacheManager tempFileCacheManager, IBinaryObjectManager binaryObjectManager"
		},
		{
			"placeholder": "{{File_Prop_Declaration_Here}}",
			"condition": "{{Has_File_Prop}} == true && {{Project_Version_Here}} >= 100300",
			"content": "
			        private readonly ITempFileCacheManager _tempFileCacheManager;
                    private readonly IBinaryObjectManager _binaryObjectManager;
			"
		},
		{
			"placeholder": "{{File_Prop_Ctor_Initialize_Here}}",
			"condition": "{{Has_File_Prop}} == true && {{Project_Version_Here}} >= 100300",
			"content": "
                    _tempFileCacheManager = tempFileCacheManager;
                    _binaryObjectManager = binaryObjectManager;
			"
		},
        {
            "placeholder": "{{Primary_Key_Inside_Tag_Here}}",
            "condition": "{{Primary_Key_Here}} != 'int'",
            "content": "<{{Primary_Key_Here}}>"
        },
        {
            "placeholder": "{{NP_Loop_Include_In_Get_Output_Definition_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == true",
            "content": "{{NP_Display_Property_Name_With_String_Format_With_Lookup_Prefix_Here}}"
        },
        {
            "placeholder": "{{NP_Loop_Include_In_Get_Output_Definition_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == false",
            "content": "_lookup{{NP_Foreign_Entity_Name_Here}}?.{{NP_Display_Property_Name_Here}}?.ToString()"
        },
        {
            "placeholder": "{{NP_Looped_GetAllForLookupTable_Display_Name_Query_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == true",
            "content": "{{NP_Looped_GetAllForLookupTable_Display_Name_For_Query_Contains_Here}}"
        },
        {
            "placeholder": "{{NP_Looped_GetAllForLookupTable_Display_Name_Query_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == false",
            "content": "e.{{NP_Display_Property_Name_Here}} != null && e.{{NP_Display_Property_Name_Here}}.Contains(input.Filter)"
        },
        {
            "placeholder": "{{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Lookup_Table_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == true",
            "content": "{{NP_Display_Property_Name_With_String_Format_With_Lowercased_Entity_Name_Here}}"
        },
        {
            "placeholder": "{{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Lookup_Table_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == false",
            "content": "{{nP_Foreign_Entity_Name_Here}}.{{NP_Display_Property_Name_Here}}?.ToString()"
        },
        {
            "placeholder": "{{NP_Filter_By_Display_Property_Name_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == true",
            "content": "{{NP_Display_Property_Names_For_Query_With_E_Dot_Object_Name_Here}}"
        },
        {
            "placeholder": "{{NP_Filter_By_Display_Property_Name_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == false",
            "content": "e.{{NP_Object_Name_Here}}Fk != null && e.{{NP_Object_Name_Here}}Fk.{{NP_Display_Property_Name_Here}} == input.{{NP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}}Filter"
        },
        {
            "placeholder": "{{NP_Display_Properties_For_Looped_Map_Join_Implementation_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == true",
            "content": "{{NP_Display_Properties_For_Looped_Map_Join_Here}}"
        },
        {
            "placeholder": "{{NP_Display_Properties_For_Looped_Map_Join_Implementation_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == false",
            "content": "s{{Loop_Index}} == null || s{{Loop_Index}}.{{NP_Display_Property_Name_Here}} == null ? \"\" : s{{Loop_Index}}.{{NP_Display_Property_Name_Here}}.ToString()"
        },
        {
            "placeholder": "{{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Dropdown_Table_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == true",
            "content": "{{NP_Display_Property_Name_With_String_Format_With_Lowercased_Entity_Name_Here}}"
        },
        {
            "placeholder": "{{NP_Looped_GetAllForLookupTable_Display_Name_Definition_For_ViewType_Dropdown_Table_Here}}",
            "condition": "{{NP_Must_Use_Multiple_Display_Property_Name_Here}} == false",
            "content": "{{nP_Foreign_Entity_Name_Here}} == null || {{nP_Foreign_Entity_Name_Here}}.{{NP_Display_Property_Name_Here}} == null ? \"\" : {{nP_Foreign_Entity_Name_Here}}.{{NP_Display_Property_Name_Here}}.ToString()"
        },
        {
            "placeholder": "{{Overridable_Entity_Base_Here}}",
            "condition": "{{Generate_Overridable_Entity_Here}} == true",
            "content": "Base"
        },
        {
            "placeholder": "{{Overridable_Entity_Abstract_Here}}",
            "condition": "{{Generate_Overridable_Entity_Here}} == true",
            "content": " abstract"
        },
        {
            "placeholder": "{{Add_Interface_Here}}",
            "condition": "{{Generate_Overridable_Entity_Here}} == true",
            "content": ", I{{Entity_Name_Plural_Here}}AppServiceBase"
        },   
        {
            "placeholder": "{{Add_Interface_Here}}",
            "condition": "{{Generate_Overridable_Entity_Here}} == false",
            "content": ", I{{Entity_Name_Plural_Here}}AppService"
        },      
        {
            "placeholder": "{{Excel_Select_Columns_Here}}",
            "condition": "{{Create_Excel_Export_Here}} == true && {{Project_Version_Here}} >= 130200",
            "content": ", input.SelectedColumns"
        },
        {
            "placeholder": "{{Get_Excel_Columns_Method_Here}}",
            "condition": "{{Create_Excel_Export_Here}} == true && {{Project_Version_Here}} >= 130200",
            "content": "
              public async Task<List<string>> Get{{Entity_Name_Here}}ExcelColumnsToExcel()
                    {
                        return await Task.FromResult(EntityExportHelper.GetEntityColumnNames<{{Entity_Name_Here}}Dto>());
                    }
            "
        }
	],
}