2020-05-24 02:12:37 +01:00
|
|
|
|
using System;
|
2020-05-24 18:46:48 +01:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2020-05-22 04:43:44 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Marechai.ViewModels
|
|
|
|
|
|
{
|
2020-05-24 04:56:09 +01:00
|
|
|
|
public class SoundSynthViewModel : BaseViewModel<int>
|
2020-05-22 04:43:44 +01:00
|
|
|
|
{
|
|
|
|
|
|
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; }
|
2020-05-24 18:46:48 +01:00
|
|
|
|
|
|
|
|
|
|
[NotMapped]
|
|
|
|
|
|
public string IntroducedView => Introduced?.ToShortDateString() ?? "Unknown";
|
2020-05-22 04:43:44 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|