添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,30 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("ReportDesign")]
|
||||
public class ReportDesign : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "ReportDesign.Name", Description = "名称")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Display(Name = "ReportDesign.Sql", Description = "Sql")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string Sql { get; set; }
|
||||
|
||||
[Display(Name = "ReportDesign.Params", Description = "参数")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string Params { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.Remark", Description = "备注")]
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user