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.
 
 
 
 
 
 

99 lines
2.7 KiB

  1. using Learun.Util;
  2. using System;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace Learun.Application.TwoDevelopment.EducationalAdministration
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  8. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2019-01-22 10:53
  11. /// 描 述:系部信息管理
  12. /// </summary>
  13. public class CdDeptEntity
  14. {
  15. #region 实体成员
  16. /// <summary>
  17. /// DeptId
  18. /// </summary>
  19. [Column("DEPTID")]
  20. public string DeptId { get; set; }
  21. /// <summary>
  22. /// 系所代码(部门号)
  23. /// </summary>
  24. [Column("DEPTNO")]
  25. public string DeptNo { get; set; }
  26. /// <summary>
  27. /// 系所名称(部门名)
  28. /// </summary>
  29. [Column("DEPTNAME")]
  30. public string DeptName { get; set; }
  31. [Column("F_SCHOOLID")]
  32. public string F_SchoolId { get; set; }
  33. /// <summary>
  34. /// 系所(部门)简称
  35. /// </summary>
  36. [Column("DEPTSHORTNAME")]
  37. public string DeptShortName { get; set; }
  38. /// <summary>
  39. /// 系所英文简称
  40. /// </summary>
  41. [Column("DEPTENBRIEF")]
  42. public string DeptEnBrief { get; set; }
  43. /// <summary>
  44. /// 排序
  45. /// </summary>
  46. [Column("DEPTSORT")]
  47. public int? DeptSort { get; set; }
  48. /// <summary>
  49. /// 系所英文简称
  50. /// </summary>
  51. [Column("DEPTENSHORT")]
  52. public string DeptEnShort { get; set; }
  53. /// <summary>
  54. /// 系主任的职工号
  55. /// </summary>
  56. [Column("DEPTDIRECTOR")]
  57. public string DeptDirector { get; set; }
  58. /// <summary>
  59. /// 教学秘书的职工号
  60. /// </summary>
  61. [Column("TEACHSECRETARY")]
  62. public string TeachSecretary { get; set; }
  63. /// <summary>
  64. /// 曾用名
  65. /// </summary>
  66. [Column("DEPTOLDNAME")]
  67. public string DeptOldName { get; set; }
  68. /// <summary>
  69. /// SyncFlag
  70. /// </summary>
  71. [Column("SYNCFLAG")]
  72. public bool? SyncFlag { get; set; }
  73. #endregion
  74. #region 扩展操作
  75. /// <summary>
  76. /// 新增调用
  77. /// </summary>
  78. public void Create()
  79. {
  80. this.DeptId = Guid.NewGuid().ToString();
  81. }
  82. /// <summary>
  83. /// 编辑调用
  84. /// </summary>
  85. /// <param name="keyValue"></param>
  86. public void Modify(string keyValue)
  87. {
  88. this.DeptId = keyValue;
  89. }
  90. #endregion
  91. #region 扩展字段
  92. #endregion
  93. }
  94. }