hytos / ID2.Manager / ID2.Manager.Dapper / Entities / ConvertDoc.cs @ d1d8c5ea
이력 | 보기 | 이력해설 | 다운로드 (1.88 KB)
1 |
using System; |
---|---|
2 |
using System.ComponentModel.DataAnnotations; |
3 |
using System.Runtime.Serialization; |
4 |
/* |
5 |
This class requires the System.ComponentModel.Annotations package and you can download it from https://www.nuget.org/packages/System.ComponentModel.Annotations |
6 |
*/ |
7 |
namespace ID2.Manager.Dapper.Entities |
8 |
{ |
9 |
public class ConvertDoc |
10 |
{ |
11 |
public ConvertDoc() |
12 |
{ |
13 |
|
14 |
} |
15 |
|
16 |
public ConvertDoc(string id, string project_no, string document_url, string document_id, DateTime create_datetime |
17 |
, int status, int total_page, int current_page, int reconverter, string exception, DateTime end_datetime |
18 |
, DateTime start_datetime, string service_id) |
19 |
{ |
20 |
this.ID = id; |
21 |
this.PROJECT_NO = project_no; |
22 |
this.DOCUMENT_URL = document_url; |
23 |
this.DOCUMENT_ID = document_id; |
24 |
this.CREATE_DATETIME = create_datetime; |
25 |
this.STATUS = status; |
26 |
this.TOTAL_PAGE = total_page; |
27 |
this.CURRENT_PAGE = current_page; |
28 |
this.RECONVERTER = reconverter; |
29 |
this.EXCEPTION = exception; |
30 |
this.END_DATETIME = end_datetime; |
31 |
this.START_DATETIME = start_datetime; |
32 |
this.SERVICE_ID = service_id; |
33 |
} |
34 |
|
35 |
[Key] |
36 |
[MaxLength(50)] |
37 |
public string ID {get; set;} |
38 |
[Required] |
39 |
[MaxLength(10)] |
40 |
public string PROJECT_NO {get; set;} |
41 |
[Required] |
42 |
[MaxLength(500)] |
43 |
public string DOCUMENT_URL {get; set;} |
44 |
[Required] |
45 |
[MaxLength(50)] |
46 |
public string DOCUMENT_ID {get; set;} |
47 |
[Required] |
48 |
public DateTime CREATE_DATETIME {get; set;} |
49 |
public int STATUS {get; set;} |
50 |
public int TOTAL_PAGE {get; set;} |
51 |
public int CURRENT_PAGE {get; set;} |
52 |
public int RECONVERTER {get; set;} |
53 |
public string EXCEPTION {get; set;} |
54 |
public DateTime END_DATETIME {get; set;} |
55 |
public DateTime START_DATETIME {get; set;} |
56 |
[MaxLength(50)] |
57 |
public string SERVICE_ID {get; set;} |
58 |
|
59 |
/// <summary> |
60 |
/// Convert Service???? ???? ????? ??? |
61 |
/// </summary> |
62 |
public string ConvertPath { get; set; } |
63 |
|
64 |
public long ProcessorAffinity { get; set; } |
65 |
} |
66 |
} |
67 |
|