|
|
@@ -0,0 +1,70 @@ |
|
|
|
using Learun.Util; |
|
|
|
using System; |
|
|
|
using System.ComponentModel.DataAnnotations.Schema; |
|
|
|
|
|
|
|
namespace Learun.Application.TwoDevelopment.PersonnelManagement |
|
|
|
{ |
|
|
|
/// <summary> |
|
|
|
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 |
|
|
|
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 |
|
|
|
/// 创 建:超级管理员 |
|
|
|
/// 日 期:2023-07-31 16:59 |
|
|
|
/// 描 述:党政办管理 |
|
|
|
/// </summary> |
|
|
|
public class PartyCateEntity |
|
|
|
{ |
|
|
|
#region 实体成员 |
|
|
|
/// <summary> |
|
|
|
/// ID |
|
|
|
/// </summary> |
|
|
|
[Column("ID")] |
|
|
|
public string ID { get; set; } |
|
|
|
/// <summary> |
|
|
|
/// Name |
|
|
|
/// </summary> |
|
|
|
[Column("NAME")] |
|
|
|
public string Name { get; set; } |
|
|
|
[Column("CTYPE")] |
|
|
|
|
|
|
|
public int? CType { get; set; } |
|
|
|
[Column("CPARENTID")] |
|
|
|
|
|
|
|
public string CParentId { get; set; } |
|
|
|
[Column("CORDER")] |
|
|
|
public string COrder { get; set; } |
|
|
|
/// <summary> |
|
|
|
/// Creator |
|
|
|
/// </summary> |
|
|
|
[Column("CREATOR")] |
|
|
|
public string Creator { get; set; } |
|
|
|
/// <summary> |
|
|
|
/// Createtime |
|
|
|
/// </summary> |
|
|
|
[Column("CREATETIME")] |
|
|
|
public DateTime? Createtime { get; set; } |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region 扩展操作 |
|
|
|
/// <summary> |
|
|
|
/// 新增调用 |
|
|
|
/// </summary> |
|
|
|
public void Create() |
|
|
|
{ |
|
|
|
this.ID = Guid.NewGuid().ToString(); |
|
|
|
this.Creator = LoginUserInfo.Get().userId; |
|
|
|
this.Createtime = DateTime.Now; |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 编辑调用 |
|
|
|
/// </summary> |
|
|
|
/// <param name="keyValue"></param> |
|
|
|
public void Modify(string keyValue) |
|
|
|
{ |
|
|
|
this.ID = keyValue; |
|
|
|
} |
|
|
|
#endregion |
|
|
|
#region 扩展字段 |
|
|
|
#endregion |
|
|
|
} |
|
|
|
} |
|
|
|
|