Files
marechai/Marechai/ViewModels/SoundSynthViewModel.cs

23 lines
841 B
C#
Raw Normal View History

2020-05-24 02:12:37 +01:00
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Marechai.ViewModels
{
2020-05-24 04:56:09 +01:00
public class SoundSynthViewModel : BaseViewModel<int>
{
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";
}
}