81 lines
2.2 KiB
C#
81 lines
2.2 KiB
C#
/*
|
||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||
*如果数据库字段发生变化,请在代码生器重新生成此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_patrollog",DBServer = "ServiceDbContext")]
|
||
public partial class warehouse_patrollog: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>
|
||
///人员1
|
||
/// </summary>
|
||
[Display(Name ="人员1")]
|
||
[Column(TypeName="int")]
|
||
[Editable(true)]
|
||
public int? UserID1 { get; set; }
|
||
|
||
/// <summary>
|
||
///人员2
|
||
/// </summary>
|
||
[Display(Name ="人员2")]
|
||
[Column(TypeName="int")]
|
||
[Editable(true)]
|
||
public int? UserID2 { get; set; }
|
||
|
||
/// <summary>
|
||
///人员3
|
||
/// </summary>
|
||
[Display(Name ="人员3")]
|
||
[Column(TypeName="int")]
|
||
[Editable(true)]
|
||
public int? UserID3 { 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? PointDeviceID { get; set; }
|
||
|
||
/// <summary>
|
||
///对应排班记录
|
||
/// </summary>
|
||
[Display(Name ="对应排班记录")]
|
||
[Column(TypeName="int")]
|
||
[Editable(true)]
|
||
public int? PatrolScheduleID { get; set; }
|
||
|
||
|
||
}
|
||
} |