12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using CZFW.Framework.Attributes;
- using CZFW.Framework.Model.Entity;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace CZKJ.GBRS2.Entity
- {
-
-
-
- [Table("cz_gbrs2_publictype")]
- public class PublicTypeEntity : EntityBase
- {
-
-
-
- [Display(Name = "名称")]
- [StringLength(36)]
- [Required]
- public string Name { get; set; }
-
-
-
- [Display(Name = "父级类型")]
- [Invisible(FormVisible = true, AddVisible = true)]
- [DropdownSrc(SrcUrl = "/Manage/PublicType/GetAllList")]
- public int ParentId { get; set; }
-
-
-
- [Display(Name = "描述")]
- [StringLength(512)]
- public string Description { get; set; }
-
-
-
- [NotMapped]
- [Display(Name = "父级类型")]
- [Invisible(TableVisible =true)]
- public string ParentName { get; set; }
-
-
-
- }
- }
|