using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using VOL.Entity.SystemModels; namespace VOL.Entity.DomainModels { [Table("S_StudentPromotionBatch")] [Index(nameof(SchoolCode), nameof(AcademicYear))] [Entity(TableCnName = "学生升学批次表", TableName = "S_StudentPromotionBatch")] public class S_StudentPromotionBatch : BaseEntity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long Id { get; set; } [Column(TypeName = "nvarchar(100)")] public string SchoolCode { get; set; } public int SchoolNatureId { get; set; } [Column(TypeName = "nvarchar(100)")] public string SchoolNatureName { get; set; } [Column(TypeName = "nvarchar(20)")] public string AcademicYear { get; set; } /// 1: 已升学,2: 已撤回。 public int Status { get; set; } public int PromotedCount { get; set; } public int GraduatedCount { get; set; } [Column(TypeName = "nvarchar(max)")] public string TeacherSnapshot { get; set; } public int OperatorId { get; set; } [Column(TypeName = "datetime")] public DateTime CreateDate { get; set; } public int? RevokeOperatorId { get; set; } [Column(TypeName = "datetime")] public DateTime? RevokeDate { get; set; } } }