/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_keylog",DBServer = "ServiceDbContext")]
public partial class warehouse_keylog:ServiceEntity
{
///
///钥匙取还日志id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Key]
[Display(Name ="钥匙取还日志id")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int id { get; set; }
///
///钥匙id
///
[Display(Name ="钥匙id")]
[Column(TypeName="int")]
[Editable(true)]
public int? KeyId { get; set; }
///
///动作(取/还)
///
[Display(Name ="动作(取/还)")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string Action { get; set; }
///
///动作时间
///
[Display(Name ="动作时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
///
///动作执行人员
///
[Display(Name ="动作执行人员")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string ActionUser { get; set; }
}
}