public DocumentDto(string displayName, byte[] content, FileTypeDto fileType, string?description = null, DateTime?originCreationDate = null) { this.DisplayName = displayName; this.Content = content; this.FileType = fileType; this.Description = description; this.OriginCreationDate = originCreationDate; }
public DocumentDto(Guid id, string displayName, byte[] content, FileTypeDto fileType, string?description, DateTime?originCreationDate, DateTime creationDate, DateTime?changeDate) { this.Id = id; this.DisplayName = displayName; this.Content = content; this.FileType = fileType; this.Description = description; this.OriginCreationDate = originCreationDate; this.CreationDate = creationDate; this.ChangeDate = changeDate; }