DimensionUnitLink.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using InABox.Core;
  2. using System;
  3. using AutoProperties;
  4. namespace Comal.Classes
  5. {
  6. // public abstract class DimensionUnitLink<T> : EntityLink<T>, IDimensionUnit where T : DimensionUnit, new()
  7. // {
  8. // [RequiredColumn]
  9. // [InterceptIgnore]
  10. // public override Guid ID { get; set; }
  11. //
  12. // [EditorSequence(1)]
  13. // [CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
  14. // [InterceptIgnore]
  15. // public string Code { get; set; }
  16. //
  17. // [EditorSequence(2)]
  18. // [TextBoxEditor(Visible = Visible.Optional, Editable = Editable.Hidden)]
  19. // [InterceptIgnore]
  20. // public string Description { get; set; }
  21. //
  22. // [NullEditor]
  23. // [RequiredColumn]
  24. // [InterceptIgnore]
  25. // public bool HasQuantity { get; set; }
  26. //
  27. // [NullEditor]
  28. // [RequiredColumn]
  29. // [InterceptIgnore]
  30. // public bool HasLength { get; set; }
  31. //
  32. // [NullEditor]
  33. // [RequiredColumn]
  34. // [InterceptIgnore]
  35. // public bool HasWidth { get; set; }
  36. //
  37. // [NullEditor]
  38. // [RequiredColumn]
  39. // [InterceptIgnore]
  40. // public bool HasHeight { get; set; }
  41. //
  42. // [NullEditor]
  43. // [RequiredColumn]
  44. // [InterceptIgnore]
  45. // public bool HasWeight { get; set; }
  46. //
  47. // [NullEditor]
  48. // [RequiredColumn]
  49. // [InterceptIgnore]
  50. // public string Formula { get; set; }
  51. //
  52. // [NullEditor]
  53. // [RequiredColumn]
  54. // [InterceptIgnore]
  55. // public string Format { get; set; }
  56. //
  57. // [NullEditor]
  58. // [RequiredColumn]
  59. // [InterceptIgnore]
  60. // public virtual string Conversion { get; set; }
  61. //
  62. // public bool HasDimensions() => HasHeight || HasWidth || HasLength || HasWeight || HasQuantity;
  63. //
  64. //}
  65. }