Files
2026-05-15 23:22:48 +08:00

94 lines
2.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此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_cars",DBServer = "ServiceDbContext")]
public partial class warehouse_cars:ServiceEntity
{
/// <summary>
///车辆ID
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Key]
[Display(Name ="车辆ID")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int CarId { get; set; }
/// <summary>
///车牌号
/// </summary>
[Display(Name ="车牌号")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string CarNumber { get; set; }
/// <summary>
///车型
/// </summary>
[Display(Name ="车型")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string CarType { get; set; }
/// <summary>
///购买时间
/// </summary>
[Display(Name ="购买时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? BuyTime { get; set; }
/// <summary>
///使用年限(年)
/// </summary>
[Display(Name ="使用年限(年)")]
[Column(TypeName="int")]
[Editable(true)]
public int? ServiceLife { get; set; }
/// <summary>
///保养周期
/// </summary>
[Display(Name ="保养周期")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string ServiceInterval { get; set; }
/// <summary>
///车辆状态
/// </summary>
[Display(Name ="车辆状态")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string Status { get; set; }
/// <summary>
///备注
/// </summary>
[Display(Name ="备注")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string Memo { get; set; }
}
}