Initial_commit_SecMPS_v2
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此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_SubSystemReport",DBServer = "ServiceDbContext")]
|
||||
public partial class Warehouse_SubSystemReport:ServiceEntity
|
||||
{
|
||||
/// <summary>
|
||||
///编号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Key]
|
||||
[Display(Name ="编号")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public Guid SubSystemReportId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///状态
|
||||
/// </summary>
|
||||
[Display(Name ="状态")]
|
||||
[MaxLength(10)]
|
||||
[Column(TypeName="nvarchar(10)")]
|
||||
[Editable(true)]
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///项目
|
||||
/// </summary>
|
||||
[Display(Name ="项目")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///当日情况
|
||||
/// </summary>
|
||||
[Display(Name ="当日情况")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
public string Situation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///正常值
|
||||
/// </summary>
|
||||
[Display(Name ="正常值")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
public string ReferenceValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///结论
|
||||
/// </summary>
|
||||
[Display(Name ="结论")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
public string Result { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///类别
|
||||
/// </summary>
|
||||
[Display(Name ="类别")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///生成时间
|
||||
/// </summary>
|
||||
[Display(Name ="生成时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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_SubSystemReport
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上[SugarColumn(IsIgnore = true)]属性,否则会异常
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user