DrawingTemplate.cs 710 B

12345678910111213141516171819202122232425262728
  1. using InABox.Core;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Comal.Classes
  6. {
  7. public class DrawingTemplate : Entity, IPersistent, IRemotable, ILicense<CoreLicense>
  8. {
  9. [EditorSequence(1)]
  10. [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]
  11. public string Code { get; set; }
  12. [EditorSequence(2)]
  13. public string Description { get; set; }
  14. [EditorSequence(3)]
  15. public DocumentLink Document { get; set; }
  16. protected override void Init()
  17. {
  18. Code = "";
  19. Description = "";
  20. Document = new DocumentLink();
  21. base.Init();
  22. }
  23. }
  24. }