using System;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace TProduct.Model
|
{
|
/// <summary>
|
/// 设备生产商
|
/// </summary>
|
public class ManufacturerBase : System.ICloneable
|
{
|
public ManufacturerBase() { }
|
|
public ManufacturerBase(ManufacturerBase rhs)
|
{
|
this.ID = rhs.ID;
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.UpdateUserID = rhs.UpdateUserID;
|
this.UpdateTime = rhs.UpdateTime;
|
this.Code = rhs.Code;
|
this.ShortName = rhs.ShortName;
|
this.FullName = rhs.FullName;
|
this.Contacter = rhs.Contacter;
|
this.Telephone = rhs.Telephone;
|
this.Address = rhs.Address;
|
}
|
|
public void Reset(ManufacturerBase rhs)
|
{
|
this.ID = rhs.ID;
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.UpdateUserID = rhs.UpdateUserID;
|
this.UpdateTime = rhs.UpdateTime;
|
this.Code = rhs.Code;
|
this.ShortName = rhs.ShortName;
|
this.FullName = rhs.FullName;
|
this.Contacter = rhs.Contacter;
|
this.Telephone = rhs.Telephone;
|
this.Address = rhs.Address;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
[Display(Name = "标识")]
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 创建人
|
/// </summary>
|
[Display(Name = "创建人")]
|
public long CreateUserID { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
[Display(Name = "创建时间")]
|
public DateTime CreateTime { get; set; }
|
|
/// <summary>
|
/// 更新人
|
/// </summary>
|
[Display(Name = "更新人")]
|
public long UpdateUserID { get; set; }
|
|
/// <summary>
|
/// 更新时间
|
/// </summary>
|
[Display(Name = "更新时间")]
|
public DateTime UpdateTime { get; set; }
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
[Display(Name = "编号")]
|
public string Code { get; set; }
|
|
/// <summary>
|
/// 简称
|
/// </summary>
|
[Display(Name = "简称")]
|
public string ShortName { get; set; }
|
|
/// <summary>
|
/// 全称
|
/// </summary>
|
[Display(Name = "全称")]
|
public string FullName { get; set; }
|
|
/// <summary>
|
/// 联系人
|
/// </summary>
|
[Display(Name = "联系人")]
|
public string Contacter { get; set; }
|
|
/// <summary>
|
/// 电话
|
/// </summary>
|
[Display(Name = "电话")]
|
public string Telephone { get; set; }
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
[Display(Name = "地址")]
|
public string Address { get; set; }
|
|
public ManufacturerBase Clone()
|
{
|
return (ManufacturerBase)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|