| | 1 | | using ValidateLib.ErrorsAndWarnings.Errors; |
| | 2 | | using ValidateLib.Metadata.Descriptors; |
| | 3 | | using ValidateLib.Metadata.Properties; |
| | 4 | |
|
| | 5 | | namespace ValidateLib.TabularData.AnnotatedTabularDataModel |
| | 6 | | { |
| | 7 | | public class Row |
| | 8 | | { |
| 1 | 9 | | public List<Cell> cells { get; set; } = new List<Cell>(); |
| 1 | 10 | | public int number { get; set; } |
| 1 | 11 | | public ColumnReferenceProperty? primaryKeyDescriptor { get; set; } |
| 0 | 12 | | public ColumnReferenceProperty? rowTitles { get; set; } |
| 0 | 13 | | public List<ForeignKeyDescriptor>? foreignKeyDescriptors { get; set; } |
| | 14 | | // we do not use this, maybe for other use-cases |
| 1 | 15 | | public List<Cell> titles { get; set; } = new List<Cell>(); |
| 1 | 16 | | public int sourceNumber { get; set; } |
| 1 | 17 | | public Table table { get; set; } |
| 1 | 18 | | public List<Error> errors { get; set; } = new List<Error> { }; |
| | 19 | |
|
| 1 | 20 | | public Row(Table table, int number, int sourceNumber) |
| | 21 | | { |
| 1 | 22 | | this.table = table; |
| 1 | 23 | | this.number = number; |
| 1 | 24 | | this.sourceNumber = sourceNumber; |
| 1 | 25 | | } |
| | 26 | | } |
| | 27 | | } |