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.

SealManagerEntity.cs 1.5 KiB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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-11-19 15:59
  11. /// 描 述:印章管理
  12. /// </summary>
  13. public class SealManagerEntity
  14. {
  15. #region 实体成员
  16. /// <summary>
  17. /// 标题
  18. /// </summary>
  19. [Column("ID")]
  20. public string ID { get; set; }
  21. /// <summary>
  22. /// 备注
  23. /// </summary>
  24. [Column("REMARK")]
  25. public string Remark { get; set; }
  26. /// <summary>
  27. /// 图片
  28. /// </summary>
  29. [Column("IMG")]
  30. public string Img { get; set; }
  31. /// <summary>
  32. /// 时间
  33. /// </summary>
  34. [Column("DATE")]
  35. public DateTime? Date { get; set; }
  36. #endregion
  37. #region 扩展操作
  38. /// <summary>
  39. /// 新增调用
  40. /// </summary>
  41. public void Create()
  42. {
  43. this.ID = Guid.NewGuid().ToString();
  44. }
  45. /// <summary>
  46. /// 编辑调用
  47. /// </summary>
  48. /// <param name="keyValue"></param>
  49. public void Modify(string keyValue)
  50. {
  51. this.ID = keyValue;
  52. }
  53. #endregion
  54. #region 扩展字段
  55. #endregion
  56. }
  57. }