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

View File

@@ -0,0 +1,64 @@
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此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_patrolpath",DetailTable = new Type[] { typeof(warehouse_patrolpathpoint)},DetailTableCnName = "巡检路径点位",DBServer = "ServiceDbContext")]
public partial class warehouse_patrolpath:ServiceEntity
{
/// <summary>
///巡检路线名称
/// </summary>
[Display(Name ="巡检路线名称")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string PatrolTitle { get; set; }
/// <summary>
///巡检路线说明
/// </summary>
[Display(Name ="巡检路线说明")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string PatrolMemo { get; set; }
/// <summary>
///巡检路线ID
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Key]
[Display(Name ="巡检路线ID")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int PatrolPathId { get; set; }
/// <summary>
///巡检路线耗时(小时)
/// </summary>
[Display(Name ="巡检路线耗时(小时)")]
[Column(TypeName="int")]
[Editable(true)]
public int? PatrolDuration { get; set; }
[Display(Name ="巡检路径点位")]
[ForeignKey("PatrolPathId")][Navigate(NavigateType.OneToMany,nameof(PatrolPathId),nameof(PatrolPathId))]
public List<warehouse_patrolpathpoint> warehouse_patrolpathpoint { get; set; }
}
}