15 lines
		
	
	
		
			319 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			319 B
		
	
	
	
		
			C#
		
	
	
	
	
	
|  | using System.ComponentModel.DataAnnotations; | |||
|  | 
 | |||
|  | namespace DataModel.Database; | |||
|  | 
 | |||
|  | public sealed class Section | |||
|  | { | |||
|  |     [Key] | |||
|  |     public int Id { get; set; } | |||
|  | 
 | |||
|  |     public string Name { get; set; } = string.Empty; | |||
|  | 
 | |||
|  |     public Section Parent { get; set; } | |||
|  | 
 | |||
|  |     public List<TextElement> TextElements { get; set; } | |||
|  | } |