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

namespace MadRunFabric.Common
{
    /// <summary>
    /// 自定义字段实体
    /// </summary>
    public class ExtensionModel
    {
        /// <summary>
        /// 字段名
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 字段值
        /// </summary>
        public string value { get; set; }
    }
    /// <summary>
    /// 自定义字段实体
    /// 用于巡检保养
    /// </summary>
    public class ExtensionFileModel
    {
        /// <summary>
        /// 字段名
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 字段值
        /// </summary>
        public string value { get; set; }
        
        /// <summary>
        /// 图片上传
        /// </summary>
        public List<FileBaseModel> picfiles { get; set; }
    }
    /// <summary>
    /// 自定义时间字段实体
    /// 做计划时使用
    /// </summary>
    public class ExtensionTimeModel
    {
        /// <summary>
        /// 开始日/月
        /// 日 AddDays
        /// 月 AddMonths
        /// </summary>
        public int startdate { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime starttime { get; set; }

        /// <summary>
        /// 结束日/月
        /// 日 AddDays
        /// 月 AddMonths
        /// </summary>
        public int enddate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime endtime { get; set; }
    }
}
