blob: 7acd43824845837409d7de02218d905a5c933927 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace api.Models
{
public class Dataset
{
public Dataset() { }
public string uploaderId { get; set; }
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]//mongo data type to .net
public string _id { get; set; }
public string description { get; set; }
public string name { get; set; }
public string fileId { get; set; }
public string extension { get; set; }
public bool isPublic { get; set; }
public bool accessibleByLink { get; set; }
public DateTime dateCreated { get; set; }
public DateTime lastUpdated { get; set; }
public string delimiter { get; set; }
public ColumnInfo[] columnInfo { get; set; }
public int rowCount { get; set; }
public int nullCols { get; set; }
public int nullRows { get; set; }
public bool isPreProcess { get; set; }
}
}
|