MOMSendErrorLog.cs 925 Bytes
using Hh.Mes.POJO.EnumEntitys;
using SqlSugar;
using System;

namespace Hh.Mes.POJO.WebEntity.log
{
    public class MOMSendErrorLog
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        public EnumWaitMOMSend sendType { get; set; }

        /// <summary>
        /// 物料或工艺路线编码
        /// </summary>
        public string code { get; set; }

        public string codeInfo { get; set; }

        public string remarks { get; set; }

        public DateTime createTime { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string sendTypeString => $"{sendType}";

        [SugarColumn(IsIgnore = true)]
        public int queryType { get; set; }

        [SugarColumn(IsIgnore = true)]
        public DateTime? startTime { get; set; }

        [SugarColumn(IsIgnore = true)]
        public DateTime? endTime { get; set; }
    }
}