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_positionworkpoint
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上[SugarColumn(IsIgnore = true)]属性,否则会异常
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此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_positionworkpoint",DBServer = "ServiceDbContext")]
|
||||
public partial class warehouse_positionworkpoint:ServiceEntity
|
||||
{
|
||||
/// <summary>
|
||||
///工作点位编号
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Key]
|
||||
[Display(Name ="工作点位编号")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public int WorkPointId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///途经设备
|
||||
/// </summary>
|
||||
[Display(Name ="途经设备")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? DeviceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///所属岗位职责项
|
||||
/// </summary>
|
||||
[Display(Name ="所属岗位职责项")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? PositionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///每月几日(每月日程使用)
|
||||
/// </summary>
|
||||
[Display(Name ="每月几日(每月日程使用)")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? MonthDay { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///星期几(每周日程使用)
|
||||
/// </summary>
|
||||
[Display(Name ="星期几(每周日程使用)")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? WeekDay { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///起始时间
|
||||
/// </summary>
|
||||
[Display(Name ="起始时间")]
|
||||
[Column(TypeName="nvarchar()")]
|
||||
[Editable(true)]
|
||||
public string StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///结束时间
|
||||
/// </summary>
|
||||
[Display(Name ="结束时间")]
|
||||
[Column(TypeName="nvarchar()")]
|
||||
[Editable(true)]
|
||||
public string EndTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user