67 lines
1.8 KiB
C#
67 lines
1.8 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_carlog",DBServer = "ServiceDbContext")]
|
|
public partial class warehouse_carlog: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 ="车辆")]
|
|
[Column(TypeName="int")]
|
|
[Editable(true)]
|
|
public int? CarId { get; set; }
|
|
|
|
/// <summary>
|
|
///动作(出库/入库)
|
|
/// </summary>
|
|
[Display(Name ="动作(出库/入库)")]
|
|
[MaxLength(255)]
|
|
[Column(TypeName="nvarchar(255)")]
|
|
[Editable(true)]
|
|
public string Action { get; set; }
|
|
|
|
/// <summary>
|
|
///动作执行人员
|
|
/// </summary>
|
|
[Display(Name ="动作执行人员")]
|
|
[MaxLength(255)]
|
|
[Column(TypeName="nvarchar(255)")]
|
|
[Editable(true)]
|
|
public string ActionUser { get; set; }
|
|
|
|
/// <summary>
|
|
///动作时间
|
|
/// </summary>
|
|
[Display(Name ="动作时间")]
|
|
[Column(TypeName="datetime")]
|
|
[Editable(true)]
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
}
|
|
} |