添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,65 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("SysDictData")]
|
||||
public class SysDictData : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "SysDictType.DictName")]
|
||||
public int SysDictTypeId { get; set; }
|
||||
public SysDictType SysDictType { get; set; }
|
||||
|
||||
// <summary>
|
||||
/// 字典排序
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictData.DictSort", Description = "字典排序")]
|
||||
public int? DictSort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典标签
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictData.DictLabel", Description = "字典标签")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string DictLabel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 英文标签
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictData.DictLabelUs", Description = "英文标签")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string DictLabelUs { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典键值
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictData.DictValue", Description = "字典键值")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string DictValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典类型
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictType.DictType", Description = "字典类型")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string DictType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 样式属性
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictData.CssClass", Description = "样式属性")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string CssClass { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "_Admin.Remark", Description = "备注")]
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user