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