瀏覽代碼

党办管理添加实体

怀来职教中心中职
ndbs 1 年之前
父節點
當前提交
caef7ceeba
共有 1 個檔案被更改,包括 70 行新增0 行删除
  1. +70
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/PartyCate/PartyCateEntity.cs

+ 70
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/PartyCate/PartyCateEntity.cs 查看文件

@@ -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
}
}


Loading…
取消
儲存