T_TaskFlow.cs 958 Bytes
using SqlSugar;

using System;

namespace HH_WCS_Standard
{
    public class T_TaskFlow
    {
        public int Id { get; set; }
        public int Menu { get; set; }
        public string TaskType { get; set; }
        public string EntranceType { get; set; }
        public string ExitType { get; set; }
        public int Setp { get; set; }
        private int _NowState;

        public int NowState
        {
            get
            {
                return _NowState;
            }
            set
            {
                _NowState = value;
                e_NowState = (E_TaskState)Enum.Parse(typeof(E_TaskState), _NowState.ToString());
            }
        }

        [SugarColumn(IsIgnore = true)]
        public E_TaskState e_NowState { get; set; }

        public int NextState { get; set; }
        public string FromPlace { get; set; }
        public string ToPlace { get; set; }
        public string Remark { get; set; }
    }
}