/** 版本信息模板在安装目录下,可自行修改。
|
* Inquiry_SignboardCost.cs
|
*
|
* 功 能: N/A
|
* 类 名: Inquiry_SignboardCost
|
*
|
* Ver 变更日期 负责人 变更内容
|
* ───────────────────────────────────
|
* V0.01 2013-7-31 9:15:03 N/A 初版
|
*
|
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
*┌──────────────────────────────────┐
|
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
*│ 版权所有:四川川印印刷包装股份有限公司 │
|
*└──────────────────────────────────┘
|
*/
|
using System;
|
using CY.Infrastructure.Domain;
|
using CY.Infrastructure.Common;
|
namespace CY.Model
|
{
|
/// <summary>
|
/// 招牌字费用
|
/// </summary>
|
[Serializable]
|
public partial class Inquiry_SignboardCost : IAggregateRoot
|
{
|
public Inquiry_SignboardCost()
|
{}
|
#region Model
|
private int _keyid;
|
private Guid _firmid;
|
private string _characterName;
|
private string _thickness;
|
private decimal _price;
|
private decimal _startprice;
|
private decimal _installprice;
|
private decimal _installstartprice;
|
private string _operater;
|
private DateTime? _operatetime;
|
private DateTime? _lastupdatetime;
|
/// <summary>
|
/// 编号
|
/// </summary>
|
public int KeyId
|
{
|
set{ _keyid=value;}
|
get{return _keyid;}
|
}
|
/// <summary>
|
/// 厂商编号
|
/// </summary>
|
public Guid FirmId
|
{
|
set{ _firmid=value;}
|
get{return _firmid;}
|
}
|
/// <summary>
|
/// 招牌字名
|
/// </summary>
|
public string CharacterName
|
{
|
set { _characterName = value; }
|
get { return _characterName; }
|
}
|
/// <summary>
|
/// 厚度
|
/// </summary>
|
public string Thickness
|
{
|
set{ _thickness=value;}
|
get{return _thickness;}
|
}
|
/// <summary>
|
/// 单价
|
/// </summary>
|
public decimal Price
|
{
|
set{ _price=value;}
|
get{return _price;}
|
}
|
/// <summary>
|
/// 起价
|
/// </summary>
|
public decimal StartPrice
|
{
|
set{ _startprice=value;}
|
get{return _startprice;}
|
}
|
/// <summary>
|
/// 安装费单价
|
/// </summary>
|
public decimal InstallPrice
|
{
|
set{ _installprice=value;}
|
get{return _installprice;}
|
}
|
/// <summary>
|
/// 安装费起价
|
/// </summary>
|
public decimal InstallStartPrice
|
{
|
set{ _installstartprice=value;}
|
get{return _installstartprice;}
|
}
|
/// <summary>
|
/// 操作人
|
/// </summary>
|
public string Operater
|
{
|
set{ _operater=value;}
|
get{return _operater;}
|
}
|
/// <summary>
|
/// 操作时间
|
/// </summary>
|
public DateTime? OperateTime
|
{
|
set{ _operatetime=value;}
|
get{return _operatetime;}
|
}
|
/// <summary>
|
/// 最后修改时间
|
/// </summary>
|
public DateTime? LastUpdateTime
|
{
|
set{ _lastupdatetime=value;}
|
get{return _lastupdatetime;}
|
}
|
#endregion Model
|
#region 扩展属性/方法
|
|
#region Visiter
|
/// <summary>
|
/// 属性访问器
|
/// </summary>
|
/// <param name="name">属性名</param>
|
/// <param name="index">索引</param>
|
/// <param name="isChange">是否将指定属性设置为传入值</param>
|
/// <param name="value">需要赋予的值</param>
|
/// <returns>与名称对应的属性值</returns>
|
public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
|
{
|
object theValue = null;
|
if ("KeyId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1)
|
{
|
this.KeyId = isChange ? MyConvert.ConvertToInt32(value).Value : KeyId;
|
theValue = this.KeyId;
|
}
|
else if ("FirmId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
|
{
|
this.FirmId = isChange ? MyConvert.ConvertToGuid(value) : FirmId;
|
theValue = this.FirmId;
|
}
|
else if ("CharacterName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
|
{
|
this.CharacterName = isChange ? MyConvert.ConvertToString(value) : CharacterName;
|
theValue = this.CharacterName;
|
}
|
else if ("Thickness".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
|
{
|
this.Thickness = isChange ? MyConvert.ConvertToString(value) : Thickness;
|
theValue = this.Thickness;
|
}
|
else if ("Price".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.Price = isChange ? MyConvert.ConvertToDecimal(value).Value : Price;
|
theValue = this.Price;
|
}
|
else if ("StartPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.StartPrice = isChange ? MyConvert.ConvertToDecimal(value).Value : StartPrice;
|
theValue = this.StartPrice;
|
}
|
else if ("InstallPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.InstallPrice = isChange ? MyConvert.ConvertToDecimal(value).Value : InstallPrice;
|
theValue = this.InstallPrice;
|
}
|
else if ("InstallStartPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.InstallStartPrice = isChange ? MyConvert.ConvertToDecimal(value).Value : InstallStartPrice;
|
theValue = this.InstallStartPrice;
|
}
|
else if ("Operater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Operater = isChange ? MyConvert.ConvertToString(value) : Operater;
|
theValue = this.Operater;
|
}
|
else if ("OperateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
|
{
|
this.OperateTime = isChange ? MyConvert.ConvertToDateTime(value) : OperateTime;
|
theValue = this.OperateTime;
|
}
|
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
|
{
|
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
|
theValue = this.LastUpdateTime;
|
}
|
return theValue;
|
}
|
#endregion
|
#endregion
|
}
|
}
|