Initial_commit_SecMPS_v2
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
|
||||
public partial class warehouse_keyapply
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上[SugarColumn(IsIgnore = true)]属性,否则会异常
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
[Entity(TableCnName = "钥匙申请",TableName = "warehouse_keyapply",DBServer = "ServiceDbContext")]
|
||||
public partial class warehouse_keyapply:ServiceEntity
|
||||
{
|
||||
/// <summary>
|
||||
///钥匙领用ID
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Key]
|
||||
[Display(Name ="钥匙领用ID")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///目标钥匙
|
||||
/// </summary>
|
||||
[Display(Name ="目标钥匙")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? KeyId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///申请人编号
|
||||
/// </summary>
|
||||
[Display(Name ="申请人编号")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? CreateID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///申请人
|
||||
/// </summary>
|
||||
[Display(Name ="申请人")]
|
||||
[MaxLength(255)]
|
||||
[Column(TypeName="nvarchar(255)")]
|
||||
[Editable(true)]
|
||||
public string Creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///申请时间
|
||||
/// </summary>
|
||||
[Display(Name ="申请时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///流程状态
|
||||
/// </summary>
|
||||
[Display(Name ="流程状态")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? AuditStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///用途
|
||||
/// </summary>
|
||||
[Display(Name ="用途")]
|
||||
[MaxLength(255)]
|
||||
[Column(TypeName="nvarchar(255)")]
|
||||
[Editable(true)]
|
||||
public string Purpose { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///预计归还时间
|
||||
/// </summary>
|
||||
[Display(Name ="预计归还时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? ReturnTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user