mic_project.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace PaintDotNet.DbOpreate.DbModel
  9. {
  10. [Table("mic_project", Schema = "dbo")]
  11. [Serializable]
  12. public class mic_project
  13. {
  14. public mic_project()
  15. {
  16. }
  17. ///<summary>
  18. /// 主键ID
  19. ///</summary>
  20. [Key]
  21. public int id { get; set; }
  22. /// <summary>
  23. /// 上级id
  24. /// </summary>
  25. public int parent_id { get; set; }
  26. /// <summary>
  27. /// 名称
  28. /// </summary>
  29. public string project_name { get; set; }
  30. /// <summary>
  31. /// 路径,用于存储完成的文件夹/项目路径
  32. /// </summary>
  33. public string project_path { get; set; }
  34. /// <summary>
  35. /// 1顶级分类 2标准 3文件夹 4项目
  36. /// </summary>
  37. public int project_type { get; set; }
  38. }
  39. }