| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.ComponentModel.DataAnnotations; |
| | | 4 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 5 | | using System.Text; |
| | | 6 | | |
| | | 7 | | namespace WinSolutions.Sveta.Server.Data.DataModel.Entities |
| | | 8 | | { |
| | | 9 | | public class UploadItem: ExternalRecord, ITrackableRecord |
| | | 10 | | { |
| | 0 | 11 | | public long UploadId{get;set;} |
| | | 12 | | |
| | | 13 | | /// <summary> |
| | | 14 | | /// Сущность |
| | | 15 | | /// </summary> |
| | | 16 | | [Required] |
| | 0 | 17 | | public string EntityName{get;set;} |
| | | 18 | | |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// Id сущности |
| | | 22 | | /// </summary> |
| | | 23 | | [Required] |
| | 0 | 24 | | public long EndityId{get;set;} |
| | | 25 | | |
| | | 26 | | [NotMapped] |
| | 0 | 27 | | public BaseRecord Entity{get;set;} |
| | | 28 | | |
| | | 29 | | } |
| | | 30 | | } |