using System; using System.ComponentModel.DataAnnotations.Schema; namespace Marechai.ViewModels { public class SoundSynthViewModel : BaseViewModel { public string Name { get; set; } public string CompanyName { get; set; } public int? CompanyId { get; set; } public string ModelCode { get; set; } public DateTime? Introduced { get; set; } public int? Voices { get; set; } public double? Frequency { get; set; } public int? Depth { get; set; } public int? SquareWave { get; set; } public int? WhiteNoise { get; set; } public int? Type { get; set; } [NotMapped] public string IntroducedView => Introduced?.ToShortDateString() ?? "Unknown"; } }