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

        public int type_id { get; set; }

        public string file_name { get; set; }

        public string file_url { get; set; }

        public int product_id { get; set; }

        public int machine_id { get; set; }

        public int section_id { get; set; }

        public string remark { get; set; }
        /// <summary>
        /// 默认展示  0：不展示  1：展示
        /// </summary>
        public int default_display { get; set; } = 0;
    }

    public class RequestUpdateDocumentCreate : RequestAddDocumentCreate
    {
        public int id { get; set; }
    }

    public class RequestUpdateDocumentVersion
    {
        public int id { get; set; }

        public string file_name { get; set; }

        public string file_url { get; set; }
    }

    public class RequestSensorDocs
    {
        public string type { get; set; }
    }
}
