using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace IStation.Model
{
///
/// 客户
///
public partial class Corpration : System.ICloneable
{
///
///
///
public Corpration() { }
///
///
///
public Corpration(Corpration rhs)
{
this.ID = rhs.ID;
this.ParentIds = rhs.ParentIds?.ToList();
this.ShortName = rhs.ShortName;
this.FullName = rhs.FullName;
this.Contacts = rhs.Contacts;
this.Telephone = rhs.Telephone;
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.Address = rhs.Address;
this.SortCode = rhs.SortCode;
this.UseStatus = rhs.UseStatus;
this.Description = rhs.Description;
this.CreateUserID = rhs.CreateUserID;
this.CreateTime = rhs.CreateTime;
this.UpdateUserID = rhs.UpdateUserID;
this.UpdateTime = rhs.UpdateTime;
}
///
///
///
public void Reset(Corpration rhs)
{
this.ID = rhs.ID;
this.ParentIds = rhs.ParentIds?.ToList();
this.ShortName = rhs.ShortName;
this.FullName = rhs.FullName;
this.Contacts = rhs.Contacts;
this.Telephone = rhs.Telephone;
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.Address = rhs.Address;
this.SortCode = rhs.SortCode;
this.UseStatus = rhs.UseStatus;
this.Description = rhs.Description;
this.CreateUserID = rhs.CreateUserID;
this.CreateTime = rhs.CreateTime;
this.UpdateUserID = rhs.UpdateUserID;
this.UpdateTime = rhs.UpdateTime;
}
///
/// 主键
///
public long ID { get; set; }
///
/// 父节点标识
///
public List ParentIds { get; set; }
///
/// 简称
///
public string ShortName { get; set; }
///
/// 全称
///
public string FullName { get; set; }
///
/// 联系人
///
public string Contacts { get; set; }
///
/// 联系电话
///
public string Telephone { get; set; }
///
/// 地址
///
public string Address { get; set; }
///
/// 终端标识
///
public string TerminalId { get; set; }
///
/// 标签名称
///
public string TagName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 使用状态
///
public eUseStatus UseStatus { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 创建用户标识
///
public long CreateUserID { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 更新用户标识
///
public long? UpdateUserID { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
///
///
public Corpration Clone()
{
return (Corpration)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}