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

namespace Siger.Middlelayer.TpmRepository.Request
{

    public class RequestProjectOutsourcedMaintenance
    {

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

        public int PageSize { get; set; } = 10;
        /// <summary>
        /// 产线
        /// </summary>
        public string section { get; set; }
        /// <summary>
        /// 设备（，隔开支持多个查询）
        /// </summary>
        public string machine { get; set; }
        /// <summary>
        /// 审核状态 （，隔开支持多个查询）
        /// </summary>
        public string state { get; set; }
        /// <summary>
        /// 维修起始时间
        /// </summary>
        public string repairstart { get; set; }
        /// <summary>
        /// 维修结束时间
        /// </summary>
        public string repairend { get; set; }
        /// <summary>
        /// 维修起始时间
        /// </summary>
        public string editstart { get; set; }
        /// <summary>
        /// 维修结束时间
        /// </summary>
        public string editend { get; set; }
        /// <summary>
        /// 是否导出 1-导出
        /// </summary>
        public string toExcel { get; set; }
        public int projectId { get; set; }
        /// <summary>
        /// 当前用户mid
        /// </summary>
        public string mid { get; set; }

        /// <summary>
        /// 推送流程
        /// </summary>
        public string processId { get; set; }
    }

    public class RequestAddProjectOutsourcedMaintenance
    {
        public int id { get; set; }
        /// <summary>
		/// 审批流程
		/// </summary>
        public int ProcessId { get; set; }
        /// <summary>
		/// 维修时间
		/// </summary>
        public int RepairTime { get; set; }
        /// <summary>
		/// 金额
		/// </summary>
        public double Price { get; set; }
        /// <summary>
		/// 供应商
		/// </summary>
        public string Supplier { get; set; }
        /// <summary>
        /// 设备Id
        /// </summary>
        public int MachineId { get; set; }
    }

    public class RequestSubmitProjectOutsourcedMaintenance
    {
        /// <summary>
        /// id用，隔开
        /// </summary>
        public string ids { get; set; }
        /// <summary>
        /// 1提交审核 2通过 3未通过
        /// </summary>
        public string state { get; set; }
    }
}
