You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Dispatch/DB/DriverInfo.cs

40 lines
916 B
C#

3 years ago
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace DSWeb.Areas.Dispatch.DB
{
[Table("Disp_Driver")]
public class DriverInfo
{
public DriverInfo()
{
this.GID = Guid.NewGuid().ToString();
this.DriverName = string.Empty;
this.Tel = string.Empty;
this.IsAudit = false;
this.RegTime = DateTime.Now;
}
[Key]
public string GID { get; set; }
public string DriverName { get; set; }
public string Tel { get; set; }
public string OpenId { get; set; }
public bool IsAudit { get; set; }
public string RegName { get; set; }
public string InfoClient { get; set; }
public DateTime RegTime { get; set; }
}
}