59 lines
1.6 KiB
C#
59 lines
1.6 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_personalallowarea",DBServer = "ServiceDbContext")]
|
||
public partial class warehouse_personalallowarea: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>
|
||
///岗位
|
||
/// </summary>
|
||
[Display(Name ="岗位")]
|
||
[MaxLength(36)]
|
||
[Column(TypeName="uniqueidentifier")]
|
||
[Editable(true)]
|
||
public Guid? PostID { get; set; }
|
||
|
||
/// <summary>
|
||
///人员
|
||
/// </summary>
|
||
[Display(Name ="人员")]
|
||
[Column(TypeName="int")]
|
||
[Editable(true)]
|
||
public int? UserID { get; set; }
|
||
|
||
/// <summary>
|
||
///允许进入区域
|
||
/// </summary>
|
||
[Display(Name ="允许进入区域")]
|
||
[MaxLength(255)]
|
||
[Column(TypeName="nvarchar(255)")]
|
||
[Editable(true)]
|
||
public string AllowRegion { get; set; }
|
||
|
||
|
||
}
|
||
} |