using System;

namespace Siger.Middlelayer.Repository.Response
{
    public class ResponseGetProductRoute
    {
        public int id { get; set; }

        public int productid { get; set; }

        public string productname { get; set; }

        public string productcode { get; set; }

        public int sectionid { get; set; }

        public string sectionname { get; set; }

        public int levelId { get; set; }

        public string levelname { get; set; }

        public int serialnumber { get; set; } = 0;

        public DateTime addtime { get; set; }

        public string name { get; set; }

        /// <summary>
        /// 工序路径编号--预留
        /// </summary>
        public string route_code { get; set; } = string.Empty;

        /// <summary>
        /// 工序说明
        /// </summary>
        public string description { get; set; } = string.Empty;

        /// <summary>
        /// 额定工时
        /// </summary>
        public double working_hours { get; set; } = 0;

        /// <summary>
        /// 创建人
        /// </summary>
        public int create_usermid { get; set; } = 0;

        public string create_username { get; set; }

        public string create_time { get; set; }

        public double prepare { get; set; } = 0;
    }

    public class ResponseGetProductRouteInfo
    {
        public int sectionid { get; set; }

        public string sectionname { get; set; }

        public int serialnumber { get; set; }

        public int cycletime { get; set; }
    }
}
