mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
23 lines
841 B
C#
23 lines
841 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marechai.ViewModels
|
|
{
|
|
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";
|
|
}
|
|
} |