using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.Repository.Request
{
    public class AddProjectUserKeyValue
    {
        [Required(ErrorMessage = "IdIsEmpty")]
        public int mid { get; set; }

        public IEnumerable<ProjectUserKeyValue> field { get; set; }
    }

    public class ProjectUserKeyValue
    {
        public int kid { get; set; }

        public string kvalue { get; set; }
    }
}
