服务端的TigerApi 框架,基于.NET6 2024 版本
Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs
@@ -3,6 +3,7 @@
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
using Tiger.Model.Extensions;
namespace Tiger.Model
{
@@ -48,10 +49,40 @@
      /// </summary>
      [DisplayName("来源单号,多个用“,”分隔,跟编码一一对应")]
      public string SOURCE_ORDER { get; set; }
      /// <summary>
      /// 备注
      /// </summary>
      [DisplayName("备注")]
        /// <summary>
        /// 工厂编码
        /// </summary>
        [DisplayName("工厂编码")]
        public string FTY_CODE { get; set; }
        /// <summary>
        /// 车间编码
        /// </summary>
        [DisplayName("车间编码")]
        public string WS_CODE { get; set; }
        /// <summary>
        /// 产线编码
        /// </summary>
        [DisplayName("产线编码")]
        public string LINE_CODE { get; set; }
        /// <summary>
        /// 岗位编码
        /// </summary>
        [DisplayName("岗位编码")]
        public string POST_CODE { get; set; }
        /// <summary>
        /// 工序编码
        /// </summary>
        [DisplayName("工序编码")]
        public string OPER_CODE { get; set; }
        /// <summary>
        /// 加工段
        /// </summary>
        [DisplayName("加工段")]
        public string SEGMENT { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
      public string REMARK { get; set; }
        #endregion
@@ -60,6 +91,8 @@
      [SugarColumn(IsIgnore = true)]
      public string FieldName { get; set; }
      */
        [SugarColumn(IsIgnore = true)]
        public BIZ_WMS_PREP_BTH CurBatch => Batchs?.OrderBy(q => q.CALL_TIME).FirstOrDefault(q => q.STATUS < STATUSs.Sended.GetValue());
        #endregion
        #region 外键属性