프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.DataBase.Dapper / Entities / ConvertDoc.cs @ 0a64fa85

이력 | 보기 | 이력해설 | 다운로드 (2.11 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 Markus.Service.DataBase.Entities
8
{
9
	[DataContract]
10
	public class ConvertDoc
11
	{
12
		public ConvertDoc()
13
        {
14

    
15
        }
16

    
17
		public ConvertDoc(string id, string project_no, string document_url, string document_id, DateTime create_datetime
18
			, int status, int total_page, int current_page, int reconverter, string exception, DateTime end_datetime
19
			, DateTime start_datetime, string service_id)
20
		{
21
			this.ID = id;
22
			this.PROJECT_NO = project_no;
23
			this.DOCUMENT_URL = document_url;
24
			this.DOCUMENT_ID = document_id;
25
			this.CREATE_DATETIME = create_datetime;
26
			this.STATUS = status;
27
			this.TOTAL_PAGE = total_page;
28
			this.CURRENT_PAGE = current_page;
29
			this.RECONVERTER = reconverter;
30
			this.EXCEPTION = exception;
31
			this.END_DATETIME = end_datetime;
32
			this.START_DATETIME = start_datetime;
33
			this.SERVICE_ID = service_id;
34
        }
35

    
36
		[Key]
37
		[MaxLength(50)]
38
		[DataMember]
39
		public string ID {get; set;}
40
		[Required]
41
		[MaxLength(10)]
42
		[DataMember]
43
		public string PROJECT_NO {get; set;}
44
		[Required]
45
		[MaxLength(500)]
46
		[DataMember]
47
		public string DOCUMENT_URL {get; set;}
48
		[Required]
49
		[MaxLength(50)]
50
		[DataMember]
51
		public string DOCUMENT_ID {get; set;}
52
		[Required]
53
		[DataMember]
54
		public DateTime CREATE_DATETIME {get; set;}
55
		[DataMember]
56
		public int STATUS {get; set;}
57
		[DataMember]
58
		public int TOTAL_PAGE {get; set;}
59
		[DataMember]
60
		public int CURRENT_PAGE {get; set;}
61
		[DataMember]
62
		public int RECONVERTER {get; set;}
63
		[DataMember]
64
		public string EXCEPTION {get; set;}
65
		[DataMember]
66
		public DateTime END_DATETIME {get; set;}
67
		[DataMember]
68
		public DateTime START_DATETIME {get; set;}
69
		[MaxLength(50)]
70
		[DataMember]
71
		public string SERVICE_ID {get; set;}
72

    
73
		/// <summary>
74
		/// Convert Service???? ???? ????? ???
75
		/// </summary>
76
		[DataMember]
77
		public string ConvertPath { get; set; }
78
	
79
	 	public long ProcessorAffinity { get; set; }
80
	}
81
}
82

    
클립보드 이미지 추가 (최대 크기: 500 MB)