添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("SysCount")]
|
||||
public class SysCount : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "SysCount.Prefix", Description = "前缀")]
|
||||
[StringLength(5, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Prefix { get; set; }
|
||||
|
||||
[Display(Name = "SysCount.Value", Description = "值")]
|
||||
public int Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("SysDictType")]
|
||||
public class SysDictType : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典名称
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictType.DictName", Description = "字典名称")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string DictName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典类型
|
||||
/// </summary>
|
||||
[Display(Name = "SysDictType.DictType", Description = "字典类型")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string DictType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "_Admin.Remark", Description = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
public ICollection<SysDictData> SysDictDatas { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("SysJob")]
|
||||
public class SysJob : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务名称
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.JobName", Description = "任务名称")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string JobName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务组名
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.JobGroup", Description = "任务组名")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string JobGroup { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务方法
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.MethodName", Description = "任务方法")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string MethodName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.MethodParams", Description = "参数")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string MethodParams { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// cron执行表达式
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.CronExpression", Description = "cron执行表达式")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string CronExpression { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上次执行时间
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.LastFireTime", Description = "上次执行时间")]
|
||||
public DateTime? LastFireTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下次执行时间
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.NextFireTime", Description = "下次执行时间")]
|
||||
public DateTime? NextFireTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 错误策略
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.MisfirePolicy", Description = "错误策略")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string MisfirePolicy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态(1正常 0暂停)
|
||||
/// </summary>
|
||||
[Display(Name = "SysJob.Status", Description = "状态(1正常 0暂停)")]
|
||||
public SysJobEnum Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注信息
|
||||
/// </summary>
|
||||
[Display(Name = "_Admin.Remark", Description = "备注")]
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user