using System.Collections.Generic; using System.Text.Json.Serialization; using Volo.Abp.Domain.Values; namespace Kurs.Platform.Queries; // public class EditingForm : ValueObject // { // public int Order { get; set; } // public string ItemType { get; set; } // public string Caption { get; set; } // public int ColCount { get; set; } // public int ColSpan { get; set; } // /// Type: Array // /// Bu kisma suan sadece string olarak doldurulacak // /// items: ['FirstName', 'LastName', // /// { dataField: 'Notes', editorType: 'dxTextArea', colSpan: 2, editorOptions: { height: 100, }, } // /// ], // /// // //[TextArea] // //public string[] Items { get; set; } // public EditingFormItem[] Items { get; set; } // protected override IEnumerable GetAtomicValues() // { // yield return ItemType; // yield return Caption; // yield return ColCount; // yield return ColSpan; // yield return Items; // } // } // public class EditingFormItem : ValueObject // { // [JsonPropertyName("order")] // public int Order { get; set; } // [JsonPropertyName("dataField")] // public string DataField { get; set; } // [JsonPropertyName("editorType2")] // public string EditorType2 { get; set; } // [JsonPropertyName("colSpan")] // public int ColSpan { get; set; } // [JsonPropertyName("editorOptions")] // public string EditorOptions { get; set; } // [JsonPropertyName("isRequired")] // public bool IsRequired { get; set; } // protected override IEnumerable GetAtomicValues() // { // yield return DataField; // yield return EditorType2; // yield return ColSpan; // yield return EditorOptions; // yield return IsRequired; // } // }