Initial_commit_SecMPS_v2

This commit is contained in:
2026-05-15 23:22:48 +08:00
commit 23ea4fe05f
13830 changed files with 298675 additions and 0 deletions

View File

@@ -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_positionwork
{
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上[SugarColumn(IsIgnore = true)]属性,否则会异常
}
}

View File

@@ -0,0 +1,74 @@
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此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_positionwork",DetailTable = new Type[] { typeof(warehouse_positionworkpoint)},DetailTableCnName = "职责日程",DBServer = "ServiceDbContext")]
public partial class warehouse_positionwork:ServiceEntity
{
/// <summary>
///岗位编号
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Key]
[Display(Name ="岗位编号")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int PositionId { get; set; }
/// <summary>
///所属岗位
/// </summary>
[Display(Name ="所属岗位")]
[MaxLength(36)]
[Column(TypeName="nvarchar(36)")]
[Editable(true)]
public string PostId { get; set; }
/// <summary>
///日程类型(每日/每周/每月)
/// </summary>
[Display(Name ="日程类型(每日/每周/每月)")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string ScheduleType { get; set; }
/// <summary>
///职责
/// </summary>
[Display(Name ="职责")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string WorkTitle { get; set; }
/// <summary>
///职责描述
/// </summary>
[Display(Name ="职责描述")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string WorkContent { get; set; }
[Display(Name ="职责日程")]
[ForeignKey("PositionId")][Navigate(NavigateType.OneToMany,nameof(PositionId),nameof(PositionId))]
public List<warehouse_positionworkpoint> warehouse_positionworkpoint { get; set; }
}
}