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 11:47
/// 描 述:社团管理
///
public class CommunityInfoEntity
{
#region 实体成员
///
/// Id
///
[Column("ID")]
public string Id { get; set; }
///
/// CommunityCode
///
[Column("COMMUNITYCODE")]
public string CommunityCode { get; set; }
///
/// CommunityName
///
[Column("COMMUNITYNAME")]
public string CommunityName { get; set; }
///
/// Sort
///
[Column("SORT")]
public int? Sort { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create(UserInfo userInfo)
{
this.Id = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue, UserInfo userInfo)
{
this.Id = keyValue;
}
#endregion
#region 扩展字段
#endregion
}
}