using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创 建:超级管理员
/// 日 期:2019-01-28 17:30
/// 描 述:教室信息管理
///
public class ClassroomInfoEntity
{
#region 实体成员
///
/// ClassroomId
///
[Column("CLASSROOMID")]
public string ClassroomId { get; set; }
///
/// 教室编号
///
[Column("CLASSROOMNO")]
public string ClassroomNo { get; set; }
///
/// 教室名称
///
[Column("CLASSROOMNAME")]
public string ClassroomName { get; set; }
///
/// 教室类型
///
[Column("CLASSROOMTYPENO")]
public string ClassroomTypeNo { get; set; }
///
/// 教室楼层
///
[Column("CLASSROOMFLOOR")]
public string ClassroomFloor { get; set; }
///
/// 容纳人数
///
[Column("CONTAINSTUNUM")]
public int? ContainStuNum { get; set; }
///
/// 考试人数
///
[Column("TESTCONTAINSTUNUM")]
public int? TestContainStuNum { get; set; }
///
/// 教学楼
///
[Column("CLASSROOMBUILDINGNO")]
public string ClassroomBuildingNo { get; set; }
[Column("F_SCHOOLID")]
public string F_SchoolId { get; set; }
///
/// 审查标志(审核后前面几列的信息不能修改)
///
[Column("CHECKMARK")]
public bool? CheckMark { get; set; }
///
/// TestMark
///
[Column("TESTMARK")]
public bool? TestMark { get; set; }
///
/// SyncFlag
///
[Column("SYNCFLAG")]
public bool? SyncFlag { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.ClassroomId = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.ClassroomId = keyValue;
}
#endregion
#region 扩展字段
#endregion
}
}