using System.Collections.Generic;

namespace Siger.Middlelayer.EsopRepository.Request
{
    public class RequestAddProcess
    {
        public string name { get; set; }

        public int section_id { get; set; }

        public string description { get; set; }

        public IEnumerable<ApprovalUserGroup> groups { get; set; }
    }

    public class RequestUpdateProcess : RequestAddProcess
    {
        public int id { get; set; }
    }

    public class ApprovalUserGroup
    {
        public int approval_usertype { get; set; }

        public string approval_usergroupid { get; set; }

        /// <summary>
        /// 会审、任意
        /// </summary>
        public int approval_type { get; set; }

        public int step_number { get; set; }
    }
}
