using System; using SqlSugar; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace Tiger.Model { /// /// ʵÌ壺ÎïÆ·¿Í»§¹ØÏµ±í /// [Description("Primary:ID")] [DisplayName("ÎïÆ·¿Í»§¹ØÏµ±í")] [Serializable] [SugarTable("BAS_ITEM_CUST")] public class BAS_ITEM_CUST : DbEntityWithAuth { #region ¹¹Ô캯Êý /// /// ʵÌ壺ÎïÆ·¿Í»§¹ØÏµ±í /// public BAS_ITEM_CUST() {} #endregion #region ¹«¹²ÊôÐÔ /// /// ÎïÁϱàÂë /// [DisplayName("ÎïÁϱàÂë")] public string ITEM_ID { get; set; } /// /// ÎïÁϱàÂë /// [DisplayName("ÎïÁϱàÂë")] public string ITEM_CODE { get; set; } /// /// ¿Í»§±àÂë /// [DisplayName("¿Í»§±àÂë")] public string CUST_CODE { get; set; } /// /// ÌõÂë¹æÔò±àÂë /// [DisplayName("ÌõÂë¹æÔò±àÂë")] public string RULE_CODE { get; set; } /// /// ±¸×¢ /// [DisplayName("±¸×¢")] public string REMARK { get; set; } #endregion #region ÐéÄâÊôÐÔ /*Àý×Ó [SugarColumn(IsIgnore = true)] public string FieldName { get; set; } */ #endregion #region Íâ¼üÊôÐÔ /*Àý×Ó //Ò»¶ÔÒ»Íâ¼üµ¼º½ [Navigate(NavigateType.OneToOne, nameof(ClassAId))]//Ò»¶ÔÒ» ClassAIdÊÇBAS_ITEM_CUSTÀàÀïÃæµÄÍâ¼üID×Ö¶Î public ClassA ClassA { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull //Ò»¶Ô¶àÍâ¼üµ¼º½ [Navigate(NavigateType.OneToMany, nameof(ClassA.BAS_ITEM_CUSTId))]//ClassA±íÖеÄBAS_ITEM_CUSTId public List ClassAList { get; set; }//×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull //¶à¶Ô¶àÍâ¼üµ¼º½ [Navigate(typeof(MappingClass), nameof(MappingClass.BAS_ITEM_CUSTId), nameof(MappingClass.ClassAId))]//×¢Òâ˳Ðò public List ClassAList { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull */ #endregion #region ö¾Ù±äÁ¿ /*Àý×Ó public enum FieldNames { [Description("ö¾ÙÃèÊö0")] Enum0, [Description("ö¾ÙÃèÊö1")] Enum1, } */ #endregion #region ¹«¹²·½·¨ #endregion }//endClass }