using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YD_WeChatApplet.Api.SmartSportsEntitys { [Table("Y_StadiumVisiting")] public class Y_StadiumVisiting { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// ///场馆Id /// [Display(Name = "场馆Id")] [Comment("场馆Id")] [Column(TypeName = "int")] public int StadiumId { get; set; } /// /// 联系电话 /// [Display(Name = "联系电话")] [Comment("联系电话")] [Column(TypeName = "nvarchar(2000)")] public string PhoneNo { get; set; } /// /// 状态[1:未处理/2:已处理] /// [Display(Name = "状态")] [Comment("状态")] [Column(TypeName = "int)")] public int Status { get; set; } /// ///来访时间 /// [Display(Name = "来访时间")] [Comment("来访时间")] [Column(TypeName = "datetime")] public DateTime? VisitingTime { get; set; } /// /// 用户姓名 /// [Display(Name = "用户姓名")] [Comment("用户姓名")] [Column(TypeName = "nvarchar(2000)")] public string UserName { get; set; } /// ///最后修改时间 /// [Display(Name = "最后修改时间")] [Comment("最后修改时间")] [Column(TypeName = "datetime")] public DateTime? UpdateTime { get; set; } /// ///备注 /// [Display(Name = "备注")] [Comment("备注")] [Column(TypeName = "text")] public string Remarks { get; set; } } }