using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace DSWeb.Areas.Storage.DB { [Table("WS_USER")] public class UserRegistInfo { public UserRegistInfo() { this.GID = Guid.NewGuid().ToString(); this.Name = string.Empty; this.Mobile = string.Empty; this.COMPANY_NAME = string.Empty; this.CUST_NAME = string.Empty; this.RegTime = DateTime.Now; } [Key] public string GID { get; set; } public string Name { get; set; } public string Mobile { get; set; } public string OpenId { get; set; } public string COMPANY_NAME { get; set; } public string CUST_NAME { get; set; } public DateTime RegTime { get; set; } } }