namespace CAPI.Custom.Entities { using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public class SurfaceField : EntityBase { public int? accessLevel { get; set; } = 0; public int? action { get; set; } = 0; public int? actionSource { get; set; } = 0; public int? actionType { get; set; } = 0; public string actionValue { get; set; } = string.Empty; public bool? alternateView { get; set; } = false; public int? colSequence { get; set; } = 0; public int? contentId { get; set; } = 0; public string controlledValue { get; set; } = string.Empty; public string controlPrefix { get; set; } = string.Empty; public string controlText { get; set; } = string.Empty; public bool? defaultToCurrent { get; set; } = false; public string defaultValue { get; set; } = string.Empty; public bool? enableBulkUpdate { get; set; } = false; public int? gridSequence { get; set; } = 0; public int? groupedDisplayCount { get; set; } = 0; public bool? hasBottomBorder { get; set; } = false; public bool? hasFullBorder { get; set; } = false; public bool? isActive { get; set; } = false; public bool? isAutoPostback { get; set; } = false; public bool? isCloneable { get; set; } = false; public bool? isComparable { get; set; } = false; public bool? isControlled { get; set; } = false; public bool? isCurrency { get; set; } = false; public bool? isCustomSource { get; set; } = false; public bool? isFilter { get; set; } = false; public bool? isGrid { get; set; } = false; public bool? isGrouped { get; set; } = false; public bool? isGroupSized { get; set; } = false; public bool? isHidden { get; set; } = false; public bool? isHiddenFromForm { get; set; } = false; public bool? isHiddenFromView { get; set; } = false; public bool? isHiddenFromWizzard { get; set; } = false; public bool? isLabelHidden { get; set; } = false; public bool? isOnNewLine { get; set; } = false; public bool? isReadOnly { get; set; } = false; public bool? isSearchable { get; set; } = false; public bool? isUnique { get; set; } = false; public bool? isVerticalHeader { get; set; } = false; public int? labelSize { get; set; } = 0; public int? length { get; set; } = 0; public int? lookupCategory { get; set; } = 0; public int? parentId { get; set; } = 0; public string placeholder { get; set; } = string.Empty; public string relationalFields { get; set; } = string.Empty; public string relationalObject { get; set; } = string.Empty; public string relationalOrderBy { get; set; } = string.Empty; public string relationalSurface { get; set; } = string.Empty; public string relationalValues { get; set; } = string.Empty; public string relationalWhere { get; set; } = string.Empty; public bool? required { get; set; } = false; public int? sequence { get; set; } = 0; public int? surfaceDateTypeId { get; set; } = 0; public string surfaceFieldDisplay { get; set; } = string.Empty; public string surfaceFieldName { get; set; } = string.Empty; public int? surfaceFieldSize { get; set; } = 0; public int surfaceFieldTypeId { get; set; } public int surfaceId { get; set; } public int? validationType { get; set; } = 0; public Surface Surface { get; set; } public SurfaceFieldType SurfaceFieldType { get; set; } } }