using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.PersonnelManagement
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创 建:超级管理员
/// 日 期:2020-01-04 10:19
/// 描 述:共青团团员
///
public class LeagueMemberEntity
{
#region 实体成员
///
/// Id
///
[Column("ID")]
public string Id { get; set; }
///
/// StuNo
///
[Column("STUNO")]
public string StuNo { get; set; }
///
/// 姓名
///
[Column("STUNAME")]
public string StuName { get; set; }
///
/// 入团时间
///
[Column("LEAGUETIME")]
public DateTime? LeagueTime { get; set; }
///
/// CreateTime
///
[Column("CREATETIME")]
public DateTime? CreateTime { get; set; }
///
/// CreateUserId
///
[Column("CREATEUSERID")]
public string CreateUserId { get; set; }
///
/// CreateUserName
///
[Column("CREATEUSERNAME")]
public string CreateUserName { get; set; }
///
/// 团委名称
///
[Column("LEAGUENAME")]
public string LeagueName { get; set; }
///
/// 团内职务
///
[Column("DUTY")]
public string Duty { get; set; }
///
/// 审核状态
///
[Column("CHECKSTATUS")]
public bool? CheckStatus { get; set; }
///
/// 性别
///
[Column("GENDER")]
public string Gender { get; set; }
///
/// 民族
///
[Column("NATION")]
public string Nation { get; set; }
///
/// 出生年月
///
[Column("BIRTHDAY")]
public DateTime? Birthday { get; set; }
///
/// 身份证
///
[Column("IDCARD")]
public string IDCard { get; set; }
///
/// 是否在职
///
[Column("ISINJOB")]
public string IsInJob { get; set; }
///
/// 参加工作时间
///
[Column("JOBDATE")]
public DateTime? JobDate { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.Id = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.Id = keyValue;
}
#endregion
#region 扩展字段
[NotMapped]
public string ClassNo { get; set; }
[NotMapped]
public bool GenderNo { get; set; }
#endregion
}
}