SopFile.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace Repository
  6. {
  7. public class SopFile
  8. {
  9. [Key]
  10. public Guid ID { get; set; }
  11. public string ProductName { get; set; }
  12. public List<LocalFileDb> LocalFileDb { get; set; }
  13. public List<LocalFile2Db> LocalFile2Db { get; set; }
  14. public List<LocalFile3Db> LocalFile3Db { get; set; }
  15. }
  16. public class LocalFileDb
  17. {
  18. public Guid Id { get; set; }
  19. public string FileNum { get; set; }
  20. public string Edition { get; set; }
  21. public string Date { get; set; }
  22. public string Type { get; set; }
  23. public string People { get; set; }
  24. public string Name { get; set; }
  25. public string Process { get; set; }
  26. public string WorkTime { get; set; }
  27. public virtual SopFile SopFile { get; set; }
  28. }
  29. public class LocalFile2Db
  30. {
  31. public Guid Id { get; set; }
  32. public string Num { get; set; }
  33. public string MaterialNum { get; set; }
  34. public string MaterialName { get; set; }
  35. public string Count { get; set; }
  36. public string Unit { get; set; }
  37. public virtual SopFile SopFile { get; set; }
  38. }
  39. public class LocalFile3Db
  40. {
  41. public Guid Id { get; set; }
  42. public string Equipment { get; set; }
  43. public string Before { get; set; }
  44. public string Inn { get; set; }
  45. public string After { get; set; }
  46. public string LookOut { get; set; }
  47. public virtual SopFile SopFile { get; set; }
  48. }
  49. }