using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Repository.Request
{
    public class RequestGetPagedDocument
    {
        public int section_id { get; set; }

        public string machinetype1 { get; set; }

        public string machinetype2 { get; set; }

        public string doc_type { get; set; }

        public string machine_life { get; set; }

        public string doc_name { get; set; }

        public string doc_time { get; set; }

        public int page { get; set; } = 1;

        public int pagesize { get; set; } = 10;

    }

    public class RequestAddDocument
    {
        public string title { get; set; }

        public string url { get; set; }

        public int type { get; set; }

        public int machine_life { get; set; }

        public string amount { get; set; }

        public string remark { get; set; }

        public int sel_machine { get; set; }

        public string sectionid { get; set; }

        public string machinetypeid { get; set; }
    }

    public class RequestUpdateDocument: RequestAddDocument
    {
        public int id { get; set; }
    }
    public class RequestDocumentType
    {
        /// <summary>
        /// 如果是修改请把id传至后台
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 文档类型名称
        /// </summary>
        public string title { get; set; }
    }
}
