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.
4C/EntityTool/SysDefineTableEntity.cs

65 lines
2.0 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 BaseEntity
{
/// <summary>
/// SysDefineTable
/// </summary>
[Serializable]
public partial class SysDefineTableEntity: ICloneable
{
public string RecId { get; set; }
public string TableName { get; set; }
public string MenuName { get; set; }
public string TableDesc { get; set; }
public string TableType { get; set; }
public byte? IsValidation { get; set; }
public byte? IsSetPool { get; set; }
public string CreateBy { get; set; }
public DateTime? CreateTime { get; set; }
public string ModifyBy { get; set; }
public DateTime? ModifyTime { get; set; }
public byte? IsActive { get; set; }
public object Clone()
{
SysDefineTableEntity obj = new SysDefineTableEntity();
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 SysDefineTableEntity
{
public string CreateByShow { get; set; }
public string ModifyByShow { get; set; }
}
}