123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /**
- * 命名空间: CZFW.Category.Entity
- *
- * 功 能: N/A
- * 类 名: DictItem
- *
- * Ver 变更日期 负责人 变更内容
- * ───────────────────────────────────
- * V0.01 2016/12/20 0:23:29 曹湘 初稿
- *
- * Copyright (c) 2016 CHUANGZHIKEJI Corporation. All rights reserved.
- *┌──────────────────────────────────┐
- *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
- *│ 版权所有:创执科技(北京)有限公司 │
- *└──────────────────────────────────┘
- */
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using CZFW.Framework.Attributes;
- namespace CZFW.Framework.Model.Entity
- {
- /// <summary>
- /// 字典项
- /// </summary>
- [Table("cz_dict_item")]
- public class DictItemEntity : EntityBase
- {
- [Invisible]
- public int DictId { get; set; }
- [Invisible]
- [MaxLength(128)]
- public string DictMark { get; set; }
- /// <summary>
- /// 名称
- /// </summary>
- [Required(ErrorMessage = @"不能为空")]
- [Display(Name = "名称")]
- [StringLength(128)]
- public string Name { get; set; }
- /// <summary>
- /// 值
- /// </summary>
-
- [Display(Name = "值")]
- [StringLength(128)]
- [Invisible]
- public string Value { get; set; }
- /// <summary>
- /// 描述
- /// </summary>
- [Display(Name = @"描述")]
- [StringLength(256)]
- public string Description { get; set; }
- }
- }
|