You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
3.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/////////////////////////////////////////////////////////////////
//
// (C) Copyright 2013, Kenneth, Inc.
// All rights reserved. Confidential. Except as pursuant
// to a written agreement with Kenneth, this software may
// not be used or distributed. This software may be covered
// by one or more patents.
//
// 本软件为Kenneth开发版权所有违者必究32032519810221811023810511@qq.com
//
/////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
namespace GummingEntity
{
/// <summary>
/// SysWord
/// </summary>
[Serializable]
public partial class SysWordEntity : ICloneable
{
/// <summary>
///
/// </summary>
public string RecId { get; set; }
/// <summary>
/// 分组
/// </summary>
public string WordGroup { get; set; }
/// <summary>
/// 描述
/// </summary>
public string WordDesc { get; set; }
/// <summary>
/// 解决方法
/// </summary>
public string WordInstruction { get; set; }
/// <summary>
/// 类型
/// </summary>
public int? WordType { get; set; }
/// <summary>
/// 关键字
/// </summary>
public string WordCode { get; set; }
/// <summary>
/// 名称
/// </summary>
public string WordName { get; set; }
/// <summary>
///
/// </summary>
public int? OrderBy { get; set; }
/// <summary>
///
/// </summary>
public string CreateBy { get; set; }
/// <summary>
///
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
///
/// </summary>
public string ModifyBy { get; set; }
/// <summary>
///
/// </summary>
public DateTime? ModifyTime { get; set; }
/// <summary>
///
/// </summary>
public int? IsActive { get; set; }
public object Clone()
{
SysWordEntity obj = new SysWordEntity();
Type t = this.GetType();
PropertyInfo[] properties = t.GetProperties();
foreach (PropertyInfo pi in properties)
{
if (pi.CanWrite)
{
object value = pi.GetValue(this, null);
if (obj.GetType().GetProperty(pi.Name) != null)
{
pi.SetValue(obj, value, null);
}
}
}
return obj;
}
}
public partial class SysWordEntity
{
public string CreateByDisplayer { get; set; }
public string ModifyByDisplayer { get; set; }
}
[Serializable]
public class SysWordLogEntity : SysWordEntity
{
public string LogId { get; set; }
public DateTime? OperTime { get; set; }
public string OperUser { get; set; }
public string OperType { get; set; }
public string OperInfo { get; set; }
public string OperUserDisplayer { get; set; }
}
}