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-11-18 11:09
/// 描 述:教材信息管理
///
public class TeachingMaterialEntity
{
#region 实体成员
///
/// 编号
///
[Column("ID")]
public string ID { get; set; }
///
/// 分类
///
[Column("TYPE")]
public string Type { get; set; }
///
/// 名称
///
[Column("NAME")]
public string Name { get; set; }
///
/// 来源
///
[Column("SOURCE")]
public string Source { get; set; }
///
/// 价格
///
[Column("PRICE")]
public string Price { get; set; }
///
/// 添加时间
///
[Column("ADDTIME")]
public string AddTime { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.ID = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.ID = keyValue;
}
#endregion
#region 扩展字段
#endregion
}
}