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; } } }