using System;
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestEqmentPosition
    {
        [Required(ErrorMessage = "LineIsEmpty")]
        public int Line { get; set; }
        [Required(ErrorMessage = "StationIsEmpty")]
        public int Station { get; set; }
        [Required(ErrorMessage = "PositionIsEmpty")]
        public int Position { get; set; }
        [Required(ErrorMessage = "EqIDIsEmpty")]
        public string EqID { get; set; }
        public string ScriptName { get; set; }
        public string UID { get; set; }
        public DateTime TransDateTime { get; set; }
    }
    public class RequestModifyEqmentPosition:RequestEqmentPosition
    {
        [Required(ErrorMessage = "IdIsEmpty")]
        public int Id { get; set; }
    }
}
