SupplierLink.cs 585 B

12345678910111213141516171819202122232425
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public class SupplierLink : EntityLink<Supplier>
  6. {
  7. public SupplierLink() : this(null)
  8. {
  9. }
  10. public SupplierLink(Func<BaseObject>? entity) : base(entity)
  11. {
  12. }
  13. [CodePopupEditor(typeof(Supplier))]
  14. public override Guid ID { get; set; }
  15. [CodeEditor(Visible = Visible.Default)]
  16. public string Code { get; set; }
  17. [TextBoxEditor(Visible = Visible.Optional, Editable = Editable.Hidden)]
  18. public string Name { get; set; }
  19. }
  20. }