using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using YD_XinWei.Api.Entitys; namespace VOL.Entity.DomainModels { [Table("S_School")] public class S_School : EntityBase { [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 SchoolNatureId { get; set; } /// ///学校编号 /// [Display(Name = "学校编号")] [Comment("学校编号")] [Column(TypeName = "nvarchar(100)")] public string SchoolCode { get; set; } /// ///学校名称 /// [Display(Name = "学校名称")] [Comment("学校名称")] [Column(TypeName = "nvarchar(100)")] public string SchoolName { get; set; } /// ///所属省份 /// [Display(Name = "所属省份")] [Comment("所属省份")] [Column(TypeName = "nvarchar(20)")] public string Province { get; set; } /// ///所属城市 /// [Display(Name = "所属城市")] [Comment("所属城市")] [Column(TypeName = "nvarchar(20)")] public string City { get; set; } /// ///所属区域 /// [Display(Name = "所属区域")] [Comment("所属区域")] [Column(TypeName = "nvarchar(20)")] public string Area { get; set; } /// ///备注 /// [Display(Name = "备注")] [Comment("备注")] [Column(TypeName = "text")] public string Remarks { get; set; } /// ///创建人 /// [Display(Name = "创建人")] [Comment("创建人")] [Column(TypeName = "int)")] public int Creator { get; set; } /// ///创建时间 /// [Display(Name = "创建时间")] [Comment("创建时间")] [Column(TypeName = "datetime")] [Editable(true)] public DateTime CreateDate { get; set; } /// ///修改人 /// [Display(Name = "修改人")] [Comment("修改人")] [Column(TypeName = "int)")] public int Modifier { get; set; } /// ///修改时间 /// [Display(Name = "修改时间")] [Comment("修改时间")] [Column(TypeName = "datetime")] public DateTime? ModifyDate { get; set; } } }