using InABox.Core; namespace Comal.Classes { [UserTracking(typeof(Quote))] public class CostSheetSection : Entity, IRemotable, IPersistent, ISequenceable, ILicense { [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)] public string Code { get; set; } [TextBoxEditor] public string Description { get; set; } [IntegerEditor] public int Quantity { get; set; } = 1; [NullEditor] public long Sequence { get; set; } public override string ToString() { return string.Format("{0}: {1}", Code, Description); } } }