using System;
using System.Collections.Generic;

namespace ZXDT.CallCenter.Model
{
    [Serializable]
    public partial class T_Wo_WorkOrderNotice
    {
        public T_Wo_WorkOrderNotice()
        { }
        #region Model
        private int _noticeid;
        private int _orderid = 0;
        private int _historyid = 0;
        private int _noticeuserid = 0;
        private string _noticeusername = "";
        private int _noticedeptid = 0;
        private string _noticedeptname = "";
        private string _noticedeptcontent = "";
        private string _noticedeptadvise = "";
        private string _class1 = "";
        private string _class2 = "";
        private string _class3 = "";
        private int _classid1 = 0;
        private int _classid2 = 0;
        private int _classid3 = 0;
        private int _noticetype = 0;
        private int _userid = 0;
        private string _username = "";
        private string _dealadvise = "";
        private string _dealresult = "";
        private int _noticestate = 1;
        private DateTime _addtime = DateTime.Now;
        private string _remark1 = "";
        private string _remark2 = "";
        private string _remark3 = "";
        private string _remark4 = "";
        private string _remark5 = "";
        private int _dznumber = 1;
        /// <summary>
        /// 
        /// </summary>
        public int NoticeId
        {
            set { _noticeid = value; }
            get { return _noticeid; }
        }
        /// <summary>
        /// 工单id
        /// </summary>
        public int OrderId
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 相关历史工单假如针对历史工单进行定责，可启用
        /// </summary>
        public int HistoryID
        {
            set { _historyid = value; }
            get { return _historyid; }
        }
        /// <summary>
        /// 通知相关人
        /// </summary>
        public int NoticeUserid
        {
            set { _noticeuserid = value; }
            get { return _noticeuserid; }
        }
        /// <summary>
        /// 通知相关人
        /// </summary>
        public string NoticeUsername
        {
            set { _noticeusername = value; }
            get { return _noticeusername; }
        }
        /// <summary>
        /// 通知相关部门
        /// </summary>
        public int NoticeDeptId
        {
            set { _noticedeptid = value; }
            get { return _noticedeptid; }
        }
        /// <summary>
        /// 通知相关部门
        /// </summary>
        public string NoticeDeptName
        {
            set { _noticedeptname = value; }
            get { return _noticedeptname; }
        }
        /// <summary>
        /// 调查情况
        /// </summary>
        public string NoticeDeptContent
        {
            set { _noticedeptcontent = value; }
            get { return _noticedeptcontent; }
        }
        /// <summary>
        /// 处理意见
        /// </summary>
        public string NoticeDeptAdvise
        {
            set { _noticedeptadvise = value; }
            get { return _noticedeptadvise; }
        }
        /// <summary>
        /// 定责一级分类
        /// </summary>
        public string Class1
        {
            set { _class1 = value; }
            get { return _class1; }
        }
        /// <summary>
        /// 定责二级分类
        /// </summary>
        public string Class2
        {
            set { _class2 = value; }
            get { return _class2; }
        }
        /// <summary>
        /// 定责三级分类
        /// </summary>
        public string Class3
        {
            set { _class3 = value; }
            get { return _class3; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ClassId1
        {
            set { _classid1 = value; }
            get { return _classid1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ClassId2
        {
            set { _classid2 = value; }
            get { return _classid2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ClassId3
        {
            set { _classid3 = value; }
            get { return _classid3; }
        }
        /// <summary>
        /// 通知类型0表扬 1定责
        /// </summary>
        public int NoticeType
        {
            set { _noticetype = value; }
            get { return _noticetype; }
        }
        /// <summary>
        /// 操作用户id
        /// </summary>
        public int Userid
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 操作用户姓名
        /// </summary>
        public string Username
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 定责处理意见
        /// </summary>
        public string DealAdvise
        {
            set { _dealadvise = value; }
            get { return _dealadvise; }
        }
        /// <summary>
        /// 定责处理结果
        /// </summary>
        public string DealResult
        {
            set { _dealresult = value; }
            get { return _dealresult; }
        }
        /// <summary>
        /// 是否有效1有效  默认有效     三次定责，每次定责都要让之前的定责单失效
        /// </summary>
        public int NoticeState
        {
            set { _noticestate = value; }
            get { return _noticestate; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime Addtime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark1
        {
            set { _remark1 = value; }
            get { return _remark1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark2
        {
            set { _remark2 = value; }
            get { return _remark2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark3
        {
            set { _remark3 = value; }
            get { return _remark3; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark4
        {
            set { _remark4 = value; }
            get { return _remark4; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark5
        {
            set { _remark5 = value; }
            get { return _remark5; }
        }
        /// <summary>
        /// 定责次数
        /// </summary>
        public int DZNumber
        {
            set { _dznumber = value; }
            get { return _dznumber; }
        }
        #endregion Model

    }
    public partial class T_Wo_WorkOrderNoticeInput
    {
        public List<T_Wo_WorkOrderNotice> Noticelist { get; set; }
        public int Classid1 { get; set; }
        public string ClassName1 { get; set; }
        public int Classid2 { get; set; }
        public string ClassName2 { get; set; }
        public int Classid3 { get; set; }
        public string ClassName3 { get; set; }

        // 处理意见
        public string F_SERVICETYPE { get; set; }
        // 定性定责结果
        public string F_SERVICENATURE { get; set; }

        public string DeptIds { get; set; }


        public int orderid { get; set; }


    }
}
