using System.ComponentModel.DataAnnotations;
using static Managing.Common.Enums;

namespace Managing.Api.Models.Responses;

public class IndicatorViewModel
{
    [Required]
    public string Name { get; set; } = string.Empty;
    
    [Required]
    public IndicatorType Type { get; set; }
    
    [Required]
    public SignalType SignalType { get; set; }
    
    [Required]
    public int MinimumHistory { get; set; }
    
    public int? Period { get; set; }
    public int? FastPeriods { get; set; }
    public int? SlowPeriods { get; set; }
    public int? SignalPeriods { get; set; }
    public double? Multiplier { get; set; }
    public int? SmoothPeriods { get; set; }
    public int? StochPeriods { get; set; }
    public int? CyclePeriods { get; set; }
    
    [Required]
    public string UserName { get; set; } = string.Empty;
}