服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-09-23 420ec0dec8cd0c17eb18ce6ecd5d03eed0266541
Tiger.Model.Net/Entitys/MES/MES_CUST_SN.cs
@@ -34,7 +34,7 @@
        [DisplayName("客户条码")]
        public string CUST_SN { get; set; }
        /// <summary>
        /// 厂内流转条码
        /// 厂内流转条码(若是导入的未绑定客户条码,此字段为空)
        /// </summary>
        [DisplayName("厂内流转条码")]
        public string FLOW_SN { get; set; }
@@ -60,6 +60,21 @@
      [SugarColumn(IsIgnore = true)]
      public string FieldName { get; set; }
      */
        /// <summary>
        /// 是否已经绑定
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public bool IsBound => !string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN) && FLOW_SN != CUST_SN;
        /// <summary>
        /// 是否厂内流转条码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public bool IsFlowSn => !string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN) && FLOW_SN == CUST_SN;
        /// <summary>
        /// 是否客户编码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public bool IsCustSn => string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN);
        #endregion
        #region 外键属性