派纳发送邮件功能
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.

699 lines
20 KiB

5 months ago
  1. #region Using directives
  2. using System;
  3. using System.Collections;
  4. using System.Data;
  5. using UFSoft.UBF.UI.MD.Runtime;
  6. using UFSoft.UBF.UI.MD.Runtime.Implement;
  7. #endregion
  8. namespace UFIDA.U9.Cust.WC.CustPOSendMailUI
  9. {
  10. [Serializable]
  11. public partial class CustPOSendMailUIModel : UIModel
  12. {
  13. #region Constructor
  14. public CustPOSendMailUIModel() : base("CustPOSendMailUI")
  15. {
  16. InitClass();
  17. this.SetResourceInfo("2656be57-c870-47b8-95f6-118655c7b336");
  18. try{
  19. AfterInitModel();
  20. }catch(Exception exception){
  21. IUIModel model = this;
  22. this.ErrorMessage.SetErrorMessage(ref model,exception);
  23. }
  24. }
  25. //just for Clone
  26. private CustPOSendMailUIModel(bool isInit) : base("CustPOSendMailUI")
  27. {}
  28. protected override IUIModel CreateCloneInstance()
  29. {
  30. return new CustPOSendMailUIModel(false);
  31. }
  32. #endregion
  33. #region member
  34. #region views
  35. private CustPOSendMailViewView viewCustPOSendMailView;
  36. private CustPOSendMailPersonView viewCustPOSendMailPerson;
  37. #endregion
  38. #region links
  39. #endregion
  40. #region properties
  41. #endregion
  42. #endregion
  43. #region property
  44. public CustPOSendMailViewView CustPOSendMailView
  45. {
  46. get { return (CustPOSendMailViewView)this["CustPOSendMailView"]; }
  47. }
  48. public CustPOSendMailPersonView CustPOSendMailPerson
  49. {
  50. get { return (CustPOSendMailPersonView)this["CustPOSendMailPerson"]; }
  51. }
  52. #region RealViews
  53. #endregion
  54. #endregion
  55. #region function
  56. private void InitClass()
  57. {
  58. this.viewCustPOSendMailView = new CustPOSendMailViewView(this);
  59. this.viewCustPOSendMailView.SetResourceInfo("8c837754-a92b-4dcd-8250-d198dda19d0f");
  60. this.Views.Add(this.viewCustPOSendMailView);
  61. this.viewCustPOSendMailPerson = new CustPOSendMailPersonView(this);
  62. this.viewCustPOSendMailPerson.SetResourceInfo("0ab05d54-2bbb-4c50-b544-738176736bb3");
  63. this.Views.Add(this.viewCustPOSendMailPerson);
  64. }
  65. public override string AssemblyName
  66. {
  67. get { return "UFIDA.U9.Cust.WC.CustPOSendMailUI"; }
  68. }
  69. #endregion
  70. private void OnValidate_DefualtImpl()
  71. {
  72. }
  73. }
  74. [Serializable]
  75. public partial class CustPOSendMailViewView : UIView
  76. {
  77. #region Constructor
  78. public CustPOSendMailViewView(IUIModel model) : base(model,"CustPOSendMailView","", true)
  79. {
  80. InitClass();
  81. }
  82. //构造空实例,不进行初始化.目前为Clone使用.
  83. private CustPOSendMailViewView():base(null,"CustPOSendMailView","", true)
  84. {
  85. }
  86. protected override IUIView CreateCloneInstance()
  87. {
  88. return new CustPOSendMailViewView();
  89. }
  90. #endregion
  91. #region fiels property filter
  92. public IUIField FieldID
  93. {
  94. get { return this.Fields["ID"]; }
  95. }
  96. public IUIField FieldCreatedOn
  97. {
  98. get { return this.Fields["CreatedOn"]; }
  99. }
  100. public IUIField FieldCreatedBy
  101. {
  102. get { return this.Fields["CreatedBy"]; }
  103. }
  104. public IUIField FieldModifiedOn
  105. {
  106. get { return this.Fields["ModifiedOn"]; }
  107. }
  108. public IUIField FieldModifiedBy
  109. {
  110. get { return this.Fields["ModifiedBy"]; }
  111. }
  112. public IUIField FieldSysVersion
  113. {
  114. get { return this.Fields["SysVersion"]; }
  115. }
  116. public IUIField FieldPrintTemplates
  117. {
  118. get { return this.Fields["PrintTemplates"]; }
  119. }
  120. public IUIField FieldPrintTemplatesName
  121. {
  122. get { return this.Fields["PrintTemplatesName"]; }
  123. }
  124. public IUIField FieldMailTitle
  125. {
  126. get { return this.Fields["MailTitle"]; }
  127. }
  128. public IUIField FieldMailText
  129. {
  130. get { return this.Fields["MailText"]; }
  131. }
  132. public IUIField FieldPrintTemlateName
  133. {
  134. get { return this.Fields["PrintTemlateName"]; }
  135. }
  136. public IUIField FieldNoticeTemplate
  137. {
  138. get { return this.Fields["NoticeTemplate"]; }
  139. }
  140. [Obsolete("请使用CurrentFilter属性,这个方法有可能会导致强弱类型转换出错")]
  141. public CustPOSendMailViewDefaultFilterFilter DefaultFilter
  142. {
  143. get { return (CustPOSendMailViewDefaultFilterFilter)this.CurrentFilter; }
  144. }
  145. #endregion
  146. #region Init
  147. private void InitClass()
  148. {
  149. UIModelRuntimeFactory.AddNewUIField(this,"ID", typeof(Int64), false,"","System.Int64", "", false,false, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","11161576-147a-449f-a8be-355e4685ecdb");
  150. UIModelRuntimeFactory.AddNewUIField(this,"CreatedOn", typeof(DateTime), false,"","System.DateTime", "", false,false, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","9778bcf4-6409-45b5-ace0-c33d8a34490b");
  151. UIModelRuntimeFactory.AddNewUIField(this,"CreatedBy", typeof(String), false,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","7af72902-e806-45d4-a6ba-adc448d305e8");
  152. UIModelRuntimeFactory.AddNewUIField(this,"ModifiedOn", typeof(DateTime), false,"","System.DateTime", "", false,false, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","fcb13178-798a-44a7-aa9e-06244fb4f45a");
  153. UIModelRuntimeFactory.AddNewUIField(this,"ModifiedBy", typeof(String), false,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","30fc2b31-c568-4deb-9cac-442dd9cbb979");
  154. UIModelRuntimeFactory.AddNewUIField(this,"SysVersion", typeof(Int64), false,"","System.Int64", "", false,false, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","22b6edb8-e2e5-4028-a988-15ed04fc32d8");
  155. UIModelRuntimeFactory.AddNewUIField(this,"PrintTemplates", typeof(Int64), true,"","UFSoft.UBF.ExportService.PrintReferenceBE.PrintTemplate", "", false,false, false, "",false,(UIFieldType)4,"dd17d05e-e2c0-48c5-802a-f1be67ee311e","e774dd03-9fcd-45b3-ba5e-6bac4545251f");
  156. UIModelRuntimeFactory.AddNewUIField(this,"PrintTemplatesName", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","d21450ea-6c23-408c-864b-e307549b96c1");
  157. UIModelRuntimeFactory.AddNewUIField(this,"MailTitle", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","5f196656-db98-49e7-bcdc-0bc080c8d73e");
  158. UIModelRuntimeFactory.AddNewUIField(this,"MailText", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","f16bc380-10a6-46e8-88c5-d6af09d601e1");
  159. UIModelRuntimeFactory.AddNewUIField(this,"PrintTemlateName", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","203d7450-ad05-451f-906a-20ea92f39a02");
  160. UIModelRuntimeFactory.AddNewUIField(this,"NoticeTemplate", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","a0c817ed-5f17-493b-b225-1f4e03e70553");
  161. this.CurrentFilter = new CustPOSendMailViewDefaultFilterFilter(this);
  162. }
  163. #endregion
  164. #region override method
  165. protected override IUIRecord BuildNewRecord(IUIRecordBuilder builder)
  166. {
  167. return new CustPOSendMailViewRecord(builder);
  168. }
  169. #endregion
  170. #region new method
  171. public new CustPOSendMailViewRecord FocusedRecord
  172. {
  173. get { return (CustPOSendMailViewRecord)base.FocusedRecord ; }
  174. set { base.FocusedRecord = value ; }
  175. }
  176. public new CustPOSendMailViewRecord AddNewUIRecord()
  177. {
  178. return (CustPOSendMailViewRecord)base.AddNewUIRecord();
  179. }
  180. public new CustPOSendMailViewRecord NewUIRecord()
  181. {
  182. return (CustPOSendMailViewRecord)base.NewUIRecord();
  183. }
  184. #endregion
  185. }
  186. [Serializable]
  187. public class CustPOSendMailViewRecord : UIRecord
  188. {
  189. #region Constructor
  190. public CustPOSendMailViewRecord(IUIRecordBuilder builder):base(builder)
  191. {
  192. }
  193. private CustPOSendMailViewView uiviewCustPOSendMailView
  194. {
  195. get { return (CustPOSendMailViewView)this.ContainerView; }
  196. }
  197. protected override IUIRecord CreateCloneInstance(IUIRecordBuilder builder)
  198. {
  199. return new CustPOSendMailViewRecord(builder);
  200. }
  201. #endregion
  202. #region property
  203. public Int64 ID
  204. {
  205. get{
  206. //object value = this[this.uiviewCustPOSendMailView.FieldID] ;
  207. //return (Int64)value;
  208. return GetValue<Int64>(this.uiviewCustPOSendMailView.FieldID);
  209. }
  210. set{
  211. this[this.uiviewCustPOSendMailView.FieldID] = value;
  212. }
  213. }
  214. public DateTime CreatedOn
  215. {
  216. get{
  217. //object value = this[this.uiviewCustPOSendMailView.FieldCreatedOn] ;
  218. //return (DateTime)value;
  219. return GetValue<DateTime>(this.uiviewCustPOSendMailView.FieldCreatedOn);
  220. }
  221. set{
  222. this[this.uiviewCustPOSendMailView.FieldCreatedOn] = value;
  223. }
  224. }
  225. public String CreatedBy
  226. {
  227. get{
  228. //object value = this[this.uiviewCustPOSendMailView.FieldCreatedBy] ;
  229. //return (String)value;
  230. return GetValue<String>(this.uiviewCustPOSendMailView.FieldCreatedBy);
  231. }
  232. set{
  233. this[this.uiviewCustPOSendMailView.FieldCreatedBy] = value;
  234. }
  235. }
  236. public DateTime ModifiedOn
  237. {
  238. get{
  239. //object value = this[this.uiviewCustPOSendMailView.FieldModifiedOn] ;
  240. //return (DateTime)value;
  241. return GetValue<DateTime>(this.uiviewCustPOSendMailView.FieldModifiedOn);
  242. }
  243. set{
  244. this[this.uiviewCustPOSendMailView.FieldModifiedOn] = value;
  245. }
  246. }
  247. public String ModifiedBy
  248. {
  249. get{
  250. //object value = this[this.uiviewCustPOSendMailView.FieldModifiedBy] ;
  251. //return (String)value;
  252. return GetValue<String>(this.uiviewCustPOSendMailView.FieldModifiedBy);
  253. }
  254. set{
  255. this[this.uiviewCustPOSendMailView.FieldModifiedBy] = value;
  256. }
  257. }
  258. public new Int64 SysVersion
  259. {
  260. get{
  261. //object value = this[this.uiviewCustPOSendMailView.FieldSysVersion] ;
  262. //return (Int64)value;
  263. return GetValue<Int64>(this.uiviewCustPOSendMailView.FieldSysVersion);
  264. }
  265. set{
  266. this[this.uiviewCustPOSendMailView.FieldSysVersion] = value;
  267. }
  268. }
  269. public Int64? PrintTemplates
  270. {
  271. get{
  272. //object value = this[this.uiviewCustPOSendMailView.FieldPrintTemplates] ;
  273. //return (Int64?)value;
  274. return GetValue<Int64?>(this.uiviewCustPOSendMailView.FieldPrintTemplates);
  275. }
  276. set{
  277. this[this.uiviewCustPOSendMailView.FieldPrintTemplates] = value;
  278. }
  279. }
  280. public String PrintTemplatesName
  281. {
  282. get{
  283. //object value = this[this.uiviewCustPOSendMailView.FieldPrintTemplatesName] ;
  284. //return (String)value;
  285. return GetValue<String>(this.uiviewCustPOSendMailView.FieldPrintTemplatesName);
  286. }
  287. set{
  288. this[this.uiviewCustPOSendMailView.FieldPrintTemplatesName] = value;
  289. }
  290. }
  291. public String MailTitle
  292. {
  293. get{
  294. //object value = this[this.uiviewCustPOSendMailView.FieldMailTitle] ;
  295. //return (String)value;
  296. return GetValue<String>(this.uiviewCustPOSendMailView.FieldMailTitle);
  297. }
  298. set{
  299. this[this.uiviewCustPOSendMailView.FieldMailTitle] = value;
  300. }
  301. }
  302. public String MailText
  303. {
  304. get{
  305. //object value = this[this.uiviewCustPOSendMailView.FieldMailText] ;
  306. //return (String)value;
  307. return GetValue<String>(this.uiviewCustPOSendMailView.FieldMailText);
  308. }
  309. set{
  310. this[this.uiviewCustPOSendMailView.FieldMailText] = value;
  311. }
  312. }
  313. public String PrintTemlateName
  314. {
  315. get{
  316. //object value = this[this.uiviewCustPOSendMailView.FieldPrintTemlateName] ;
  317. //return (String)value;
  318. return GetValue<String>(this.uiviewCustPOSendMailView.FieldPrintTemlateName);
  319. }
  320. set{
  321. this[this.uiviewCustPOSendMailView.FieldPrintTemlateName] = value;
  322. }
  323. }
  324. public String NoticeTemplate
  325. {
  326. get{
  327. //object value = this[this.uiviewCustPOSendMailView.FieldNoticeTemplate] ;
  328. //return (String)value;
  329. return GetValue<String>(this.uiviewCustPOSendMailView.FieldNoticeTemplate);
  330. }
  331. set{
  332. this[this.uiviewCustPOSendMailView.FieldNoticeTemplate] = value;
  333. }
  334. }
  335. #endregion
  336. }
  337. [Serializable]
  338. public class CustPOSendMailViewDefaultFilterFilter : UIFilter
  339. {
  340. #region Constructor
  341. public CustPOSendMailViewDefaultFilterFilter(IUIView view)
  342. : base("DefaultFilter",view,@"",@"")
  343. {
  344. InitClass();
  345. }
  346. //for Clone Constructor
  347. private CustPOSendMailViewDefaultFilterFilter()
  348. : base("DefaultFilter",null,"","")
  349. {}
  350. protected override IUIFilter CreateCloneInstance()
  351. {
  352. return new CustPOSendMailViewDefaultFilterFilter();
  353. }
  354. #endregion
  355. #region property
  356. #endregion
  357. #region function
  358. private void InitClass()
  359. {
  360. }
  361. #endregion
  362. }
  363. [Serializable]
  364. public partial class CustPOSendMailPersonView : UIView
  365. {
  366. #region Constructor
  367. public CustPOSendMailPersonView(IUIModel model) : base(model,"CustPOSendMailPerson","", true)
  368. {
  369. InitClass();
  370. }
  371. //构造空实例,不进行初始化.目前为Clone使用.
  372. private CustPOSendMailPersonView():base(null,"CustPOSendMailPerson","", true)
  373. {
  374. }
  375. protected override IUIView CreateCloneInstance()
  376. {
  377. return new CustPOSendMailPersonView();
  378. }
  379. #endregion
  380. #region fiels property filter
  381. public IUIField FieldID
  382. {
  383. get { return this.Fields["ID"]; }
  384. }
  385. public IUIField FieldCreatedOn
  386. {
  387. get { return this.Fields["CreatedOn"]; }
  388. }
  389. public IUIField FieldCreatedBy
  390. {
  391. get { return this.Fields["CreatedBy"]; }
  392. }
  393. public IUIField FieldModifiedOn
  394. {
  395. get { return this.Fields["ModifiedOn"]; }
  396. }
  397. public IUIField FieldModifiedBy
  398. {
  399. get { return this.Fields["ModifiedBy"]; }
  400. }
  401. public IUIField FieldSysVersion
  402. {
  403. get { return this.Fields["SysVersion"]; }
  404. }
  405. public IUIField FieldMailAddress
  406. {
  407. get { return this.Fields["MailAddress"]; }
  408. }
  409. public IUIField FieldTelephone
  410. {
  411. get { return this.Fields["Telephone"]; }
  412. }
  413. public IUIField FieldRcvPerson
  414. {
  415. get { return this.Fields["RcvPerson"]; }
  416. }
  417. [Obsolete("请使用CurrentFilter属性,这个方法有可能会导致强弱类型转换出错")]
  418. public CustPOSendMailPersonDefaultFilterFilter DefaultFilter
  419. {
  420. get { return (CustPOSendMailPersonDefaultFilterFilter)this.CurrentFilter; }
  421. }
  422. #endregion
  423. #region Init
  424. private void InitClass()
  425. {
  426. UIModelRuntimeFactory.AddNewUIField(this,"ID", typeof(Int64), false,"","System.Int64", "", false,false, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","643cee82-a076-4967-b713-5da8b2cfed9d");
  427. UIModelRuntimeFactory.AddNewUIField(this,"CreatedOn", typeof(DateTime), false,"","System.DateTime", "", false,false, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","e8492f1e-25a8-4380-9857-20b00e43b136");
  428. UIModelRuntimeFactory.AddNewUIField(this,"CreatedBy", typeof(String), false,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","3f9c0cef-c62e-4b8f-8d45-931a57187ef8");
  429. UIModelRuntimeFactory.AddNewUIField(this,"ModifiedOn", typeof(DateTime), false,"","System.DateTime", "", false,false, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","b1f96cd8-a461-4f5e-8541-81c17a71277e");
  430. UIModelRuntimeFactory.AddNewUIField(this,"ModifiedBy", typeof(String), false,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","116f425e-8cc9-4f77-a9bb-59e5919796bf");
  431. UIModelRuntimeFactory.AddNewUIField(this,"SysVersion", typeof(Int64), false,"","System.Int64", "", false,false, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","966d7e9d-0f5e-4027-89cc-372372a6ede4");
  432. UIModelRuntimeFactory.AddNewUIField(this,"MailAddress", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","aaf3b6ac-79c7-4090-8385-bf12a6bc817a");
  433. UIModelRuntimeFactory.AddNewUIField(this,"Telephone", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","1348c789-74af-450b-b0b3-d74fdafe0518");
  434. UIModelRuntimeFactory.AddNewUIField(this,"RcvPerson", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","c169e85f-31a6-45bc-a7ad-a9a9d17fccb1");
  435. this.CurrentFilter = new CustPOSendMailPersonDefaultFilterFilter(this);
  436. }
  437. #endregion
  438. #region override method
  439. protected override IUIRecord BuildNewRecord(IUIRecordBuilder builder)
  440. {
  441. return new CustPOSendMailPersonRecord(builder);
  442. }
  443. #endregion
  444. #region new method
  445. public new CustPOSendMailPersonRecord FocusedRecord
  446. {
  447. get { return (CustPOSendMailPersonRecord)base.FocusedRecord ; }
  448. set { base.FocusedRecord = value ; }
  449. }
  450. public new CustPOSendMailPersonRecord AddNewUIRecord()
  451. {
  452. return (CustPOSendMailPersonRecord)base.AddNewUIRecord();
  453. }
  454. public new CustPOSendMailPersonRecord NewUIRecord()
  455. {
  456. return (CustPOSendMailPersonRecord)base.NewUIRecord();
  457. }
  458. #endregion
  459. }
  460. [Serializable]
  461. public class CustPOSendMailPersonRecord : UIRecord
  462. {
  463. #region Constructor
  464. public CustPOSendMailPersonRecord(IUIRecordBuilder builder):base(builder)
  465. {
  466. }
  467. private CustPOSendMailPersonView uiviewCustPOSendMailPerson
  468. {
  469. get { return (CustPOSendMailPersonView)this.ContainerView; }
  470. }
  471. protected override IUIRecord CreateCloneInstance(IUIRecordBuilder builder)
  472. {
  473. return new CustPOSendMailPersonRecord(builder);
  474. }
  475. #endregion
  476. #region property
  477. public Int64 ID
  478. {
  479. get{
  480. //object value = this[this.uiviewCustPOSendMailPerson.FieldID] ;
  481. //return (Int64)value;
  482. return GetValue<Int64>(this.uiviewCustPOSendMailPerson.FieldID);
  483. }
  484. set{
  485. this[this.uiviewCustPOSendMailPerson.FieldID] = value;
  486. }
  487. }
  488. public DateTime CreatedOn
  489. {
  490. get{
  491. //object value = this[this.uiviewCustPOSendMailPerson.FieldCreatedOn] ;
  492. //return (DateTime)value;
  493. return GetValue<DateTime>(this.uiviewCustPOSendMailPerson.FieldCreatedOn);
  494. }
  495. set{
  496. this[this.uiviewCustPOSendMailPerson.FieldCreatedOn] = value;
  497. }
  498. }
  499. public String CreatedBy
  500. {
  501. get{
  502. //object value = this[this.uiviewCustPOSendMailPerson.FieldCreatedBy] ;
  503. //return (String)value;
  504. return GetValue<String>(this.uiviewCustPOSendMailPerson.FieldCreatedBy);
  505. }
  506. set{
  507. this[this.uiviewCustPOSendMailPerson.FieldCreatedBy] = value;
  508. }
  509. }
  510. public DateTime ModifiedOn
  511. {
  512. get{
  513. //object value = this[this.uiviewCustPOSendMailPerson.FieldModifiedOn] ;
  514. //return (DateTime)value;
  515. return GetValue<DateTime>(this.uiviewCustPOSendMailPerson.FieldModifiedOn);
  516. }
  517. set{
  518. this[this.uiviewCustPOSendMailPerson.FieldModifiedOn] = value;
  519. }
  520. }
  521. public String ModifiedBy
  522. {
  523. get{
  524. //object value = this[this.uiviewCustPOSendMailPerson.FieldModifiedBy] ;
  525. //return (String)value;
  526. return GetValue<String>(this.uiviewCustPOSendMailPerson.FieldModifiedBy);
  527. }
  528. set{
  529. this[this.uiviewCustPOSendMailPerson.FieldModifiedBy] = value;
  530. }
  531. }
  532. public new Int64 SysVersion
  533. {
  534. get{
  535. //object value = this[this.uiviewCustPOSendMailPerson.FieldSysVersion] ;
  536. //return (Int64)value;
  537. return GetValue<Int64>(this.uiviewCustPOSendMailPerson.FieldSysVersion);
  538. }
  539. set{
  540. this[this.uiviewCustPOSendMailPerson.FieldSysVersion] = value;
  541. }
  542. }
  543. public String MailAddress
  544. {
  545. get{
  546. //object value = this[this.uiviewCustPOSendMailPerson.FieldMailAddress] ;
  547. //return (String)value;
  548. return GetValue<String>(this.uiviewCustPOSendMailPerson.FieldMailAddress);
  549. }
  550. set{
  551. this[this.uiviewCustPOSendMailPerson.FieldMailAddress] = value;
  552. }
  553. }
  554. public String Telephone
  555. {
  556. get{
  557. //object value = this[this.uiviewCustPOSendMailPerson.FieldTelephone] ;
  558. //return (String)value;
  559. return GetValue<String>(this.uiviewCustPOSendMailPerson.FieldTelephone);
  560. }
  561. set{
  562. this[this.uiviewCustPOSendMailPerson.FieldTelephone] = value;
  563. }
  564. }
  565. public String RcvPerson
  566. {
  567. get{
  568. //object value = this[this.uiviewCustPOSendMailPerson.FieldRcvPerson] ;
  569. //return (String)value;
  570. return GetValue<String>(this.uiviewCustPOSendMailPerson.FieldRcvPerson);
  571. }
  572. set{
  573. this[this.uiviewCustPOSendMailPerson.FieldRcvPerson] = value;
  574. }
  575. }
  576. #endregion
  577. }
  578. [Serializable]
  579. public class CustPOSendMailPersonDefaultFilterFilter : UIFilter
  580. {
  581. #region Constructor
  582. public CustPOSendMailPersonDefaultFilterFilter(IUIView view)
  583. : base("DefaultFilter",view,@"",@"")
  584. {
  585. InitClass();
  586. }
  587. //for Clone Constructor
  588. private CustPOSendMailPersonDefaultFilterFilter()
  589. : base("DefaultFilter",null,"","")
  590. {}
  591. protected override IUIFilter CreateCloneInstance()
  592. {
  593. return new CustPOSendMailPersonDefaultFilterFilter();
  594. }
  595. #endregion
  596. #region property
  597. #endregion
  598. #region function
  599. private void InitClass()
  600. {
  601. }
  602. #endregion
  603. }
  604. }