/** 版本信息模板在安装目录下,可自行修改。
|
* Inquiry_BindingProcessCost.cs
|
*
|
* 功 能: N/A
|
* 类 名: Inquiry_BindingProcessCost
|
*
|
* Ver 变更日期 负责人 变更内容
|
* ───────────────────────────────────
|
* V0.01 2013-6-21 16:20:11 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_BindingProcessCost : IAggregateRoot
|
{
|
public Inquiry_BindingProcessCost()
|
{}
|
#region Model
|
private int _keyid;
|
private Guid _firmid;
|
private int _printtypeid;
|
private int _pagenum;
|
private int _workid;
|
private int _sizekeyid;
|
private decimal? _price;
|
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 int PrintTypeId
|
{
|
set{ _printtypeid=value;}
|
get{return _printtypeid;}
|
}
|
/// <summary>
|
/// 张数
|
/// </summary>
|
public int PageNum
|
{
|
set{ _pagenum=value;}
|
get{return _pagenum;}
|
}
|
/// <summary>
|
/// 装订工艺类型
|
/// </summary>
|
public int WorkId
|
{
|
set{ _workid=value;}
|
get{return _workid;}
|
}
|
/// <summary>
|
/// 开数类型
|
/// </summary>
|
public int SizeKeyId
|
{
|
set{ _sizekeyid=value;}
|
get{return _sizekeyid;}
|
}
|
/// <summary>
|
/// 价格
|
/// </summary>
|
public decimal? Price
|
{
|
set{ _price=value;}
|
get{return _price;}
|
}
|
/// <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 扩展属性/方法
|
public decimal Price29 { get; set; }
|
|
public decimal Price30 { get; set; }
|
|
public decimal Price31 { get; set; }
|
|
public decimal Price32 { get; set; }
|
|
public decimal Price33 { get; set; }
|
|
public decimal Price124 { get; set; }
|
|
public string ParameterName { get; set; }
|
#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 ("PrintTypeId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
|
{
|
this.PrintTypeId = isChange ? MyConvert.ConvertToInt32(value).Value : PrintTypeId;
|
theValue = this.PrintTypeId;
|
}
|
else if ("PageNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
|
{
|
this.PageNum = isChange ? MyConvert.ConvertToInt32(value).Value : PageNum;
|
theValue = this.PageNum;
|
}
|
else if ("WorkId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.WorkId = isChange ? MyConvert.ConvertToInt32(value).Value : WorkId;
|
theValue = this.WorkId;
|
}
|
else if ("SizeKeyId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.SizeKeyId = isChange ? MyConvert.ConvertToInt32(value).Value : SizeKeyId;
|
theValue = this.SizeKeyId;
|
}
|
else if ("Operater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
|
{
|
this.Operater = isChange ? MyConvert.ConvertToString(value) : Operater;
|
theValue = this.Operater;
|
}
|
else if ("OperateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
|
{
|
this.OperateTime = isChange ? MyConvert.ConvertToDateTime(value) : OperateTime;
|
theValue = this.OperateTime;
|
}
|
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
|
theValue = this.LastUpdateTime;
|
}
|
else if ("Price".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price = isChange ? MyConvert.ConvertToDecimal(value).Value : Price;
|
theValue = this.Price;
|
}
|
else if ("PrintTypeId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.PrintTypeId = isChange ? MyConvert.ConvertToInt32(value).Value : PrintTypeId;
|
theValue = this.PrintTypeId;
|
}
|
else if ("Price29".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price29 = isChange ? MyConvert.ConvertToDecimal(value).Value : Price29;
|
theValue = this.Price29;
|
}
|
else if ("Price30".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price30 = isChange ? MyConvert.ConvertToDecimal(value).Value : Price30;
|
theValue = this.Price30;
|
}
|
else if ("Price31".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price31 = isChange ? MyConvert.ConvertToDecimal(value).Value : Price31;
|
theValue = this.Price31;
|
}
|
else if ("Price32".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price32 = isChange ? MyConvert.ConvertToDecimal(value).Value : Price32;
|
theValue = this.Price32;
|
}
|
else if ("Price33".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price33 = isChange ? MyConvert.ConvertToDecimal(value).Value : Price33;
|
theValue = this.Price33;
|
}
|
else if ("Price124".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Price124 = isChange ? MyConvert.ConvertToDecimal(value).Value : Price124;
|
theValue = this.Price124;
|
}
|
else if ("ParameterName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
|
{
|
this.ParameterName = isChange ? MyConvert.ConvertToString(value) : ParameterName;
|
theValue = this.ParameterName;
|
}
|
return theValue;
|
}
|
#endregion
|
#endregion
|
}
|
}
|