123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using LeaRun.Application.Code;
- namespace LeaRun.Application.Entity.BaseManage
- {
- /// <summary>
- /// 版 本
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创 建:超级管理员
- /// 日 期:2017-03-01 09:20
- /// 描 述:学生表
- /// </summary>
- public class studentEntity : BaseEntity
- {
- #region 实体成员
- /// <summary>
- ///
- /// </summary>
- /// <returns></returns>
- public string id { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- /// <returns></returns>
- public string name { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- /// <returns></returns>
- public string sex { get; set; }
- #endregion
- #region 扩展操作
- /// <summary>
- /// 新增调用
- /// </summary>
- public override void Create()
- {
- this.id = Guid.NewGuid().ToString();
- }
- /// <summary>
- /// 编辑调用
- /// </summary>
- /// <param name="keyValue"></param>
- public override void Modify(string keyValue)
- {
- this.id = keyValue;
- }
- #endregion
- }
- }
|