using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using YD_WeChatApplet.Api.Entitys; namespace YD_WeChatApplet.Api.SmartSportsEntitys { [Table("Y_SchoolAccountApplication")] public class Y_SchoolAccountApplication { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// ///学校名称 /// [Display(Name = "学校名称")] [Comment("学校名称")] [Column(TypeName = "nvarchar(100)")] public string SchoolName { get; set; } /// ///学校地址 /// [Display(Name = "学校地址")] [Comment("学校地址")] [Column(TypeName = "nvarchar(1000)")] public string SchoolAddress { get; set; } /// /// 用户姓名 /// [Display(Name = "用户姓名")] [Comment("用户姓名")] [Column(TypeName = "nvarchar(2000)")] public string UserName { get; set; } /// /// 联系电话 /// [Display(Name = "联系电话")] [Comment("联系电话")] [Column(TypeName = "nvarchar(11)")] 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 = "datetime")] public DateTime? UpdateTime { get; set; } /// ///备注 /// [Display(Name = "备注")] [Comment("备注")] [Column(TypeName = "text")] public string Remarks { get; set; } } }