using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels.Business.People
{
[Table("S_SchoolAssocGrade")]
[Entity(TableCnName = "学校年级关联表", TableName = "S_SchoolAssocGrade")]
public class S_SchoolAssocGrade : BaseEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
///
///学校编号
///
[Display(Name = "学校编号")]
[Comment("学校编号")]
[Column(TypeName = "nvarchar(100)")]
public string SchoolCode { get; set; }
///
///年级Id
///
[Display(Name = "年级Id")]
[Comment("年级Id")]
[Column(TypeName = "int")]
public int GradeId { 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; }
}
}