You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
4.5 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. namespace OT.Model
  4. {
  5. /// <summary>
  6. /// OTB_SYS_Attachments:實體類(屬性說明自動提取資料庫欄位的描述訊息)
  7. /// </summary>
  8. [Serializable]
  9. public partial class OTB_SYS_Attachments
  10. {
  11. public OTB_SYS_Attachments()
  12. { }
  13. #region Model
  14. private string _targetrelationid;
  15. private string _sourcerelationid;
  16. private string _filename;
  17. private string _subfilename;
  18. private string _filepath;
  19. private int? _filesize;
  20. private byte[] _filecontent;
  21. private string _filetype;
  22. private string _isprotected;
  23. private string _ispublic;
  24. private string _memo;
  25. private string _createuser;
  26. private DateTime _createdate;
  27. private string _modifyuser;
  28. private DateTime _modifydate;
  29. public string IsTitlePage { get; set; }
  30. /// <summary>
  31. /// 目標方關係編號
  32. /// </summary>
  33. public string TargetRelationID
  34. {
  35. set { _targetrelationid = value; }
  36. get { return _targetrelationid; }
  37. }
  38. /// <summary>
  39. /// 來源方關係編號
  40. /// </summary>
  41. public string SourceRelationID
  42. {
  43. set { _sourcerelationid = value; }
  44. get { return _sourcerelationid; }
  45. }
  46. /// <summary>
  47. /// 檔案名稱
  48. /// </summary>
  49. public string FileName
  50. {
  51. set { _filename = value; }
  52. get { return _filename; }
  53. }
  54. /// <summary>
  55. /// 檔案副檔名
  56. /// </summary>
  57. public string SubFileName
  58. {
  59. set { _subfilename = value; }
  60. get { return _subfilename; }
  61. }
  62. /// <summary>
  63. /// 檔案路徑
  64. /// </summary>
  65. public string FilePath
  66. {
  67. set { _filepath = value; }
  68. get { return _filepath; }
  69. }
  70. /// <summary>
  71. /// 檔案大小
  72. /// </summary>
  73. public int? FileSize
  74. {
  75. set { _filesize = value; }
  76. get { return _filesize; }
  77. }
  78. /// <summary>
  79. /// 檔案內容
  80. /// </summary>
  81. public byte[] FileContent
  82. {
  83. set { _filecontent = value; }
  84. get { return _filecontent; }
  85. }
  86. /// <summary>
  87. /// 檔案類別
  88. /// </summary>
  89. public string FileType
  90. {
  91. set { _filetype = value; }
  92. get { return _filetype; }
  93. }
  94. /// <summary>
  95. /// 檔案類別名稱
  96. /// </summary>
  97. public string FileTypeName { set; get; }
  98. /// <summary>
  99. /// 對內公開Y:對內公開N:對內不公開
  100. /// </summary>
  101. public string IsProtected
  102. {
  103. set { _isprotected = value; }
  104. get { return _isprotected; }
  105. }
  106. /// <summary>
  107. /// 對外公開Y:對外公開N:對外不公開
  108. /// </summary>
  109. public string IsPublic
  110. {
  111. set { _ispublic = value; }
  112. get { return _ispublic; }
  113. }
  114. /// <summary>
  115. /// 備註
  116. /// </summary>
  117. public string Memo
  118. {
  119. set { _memo = value; }
  120. get { return _memo; }
  121. }
  122. /// <summary>
  123. /// 建立人員帳號
  124. /// </summary>
  125. public string CreateUser
  126. {
  127. set { _createuser = value; }
  128. get { return _createuser; }
  129. }
  130. /// <summary>
  131. /// 建立日期
  132. /// </summary>
  133. public DateTime CreateDate
  134. {
  135. set { _createdate = value; }
  136. get { return _createdate; }
  137. }
  138. /// <summary>
  139. /// 修改人員帳號
  140. /// </summary>
  141. public string ModifyUser
  142. {
  143. set { _modifyuser = value; }
  144. get { return _modifyuser; }
  145. }
  146. /// <summary>
  147. /// 修改日期
  148. /// </summary>
  149. public DateTime ModifyDate
  150. {
  151. set { _modifydate = value; }
  152. get { return _modifydate; }
  153. }
  154. #endregion Model
  155. private List<OTB_SYS_Attachments> _tb_ava_sys_attachmentss;
  156. /// <summary>
  157. /// 子类
  158. /// </summary>
  159. public List<OTB_SYS_Attachments> TB_SYS_Attachmentss
  160. {
  161. set { _tb_ava_sys_attachmentss = value; }
  162. get { return _tb_ava_sys_attachmentss; }
  163. }
  164. }
  165. }