/**
* EC_SpecialForums.cs
*
* 功 能: N/A
* 类 名: EC_SpecialForums
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2013-4-2 14:27:31 N/A 初版
*
*
*
*
*
*
*/
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
///
/// 专版施工单版面
///
[Serializable]
public partial class EC_SpecialForums : IAggregateRoot
{
public EC_SpecialForums()
{}
#region Model
private int? _keyid;
private int? _specialorderid;
private int? _psf_forumsid;
private string _psf_component;
private int? _psf_pnum;
private string _psf_pressesdesk;
private string _psf_printedcolorpositive;
private string _psf_printedcolorrear;
private string _psf_typesetting;
private int? _psf_printedpositive;
private int? _psf_printedcount;
private int? _psf_lastnum;
private string _psf_papersource;
private string _psf_papername;
private string _psf_materialspecifications;
private int? _psf_bigpapercount;
private string _psf_openspecifications;
private int? _psf_openwidth;
private int? _psf_openlength;
private string _psf_note;
private int? _psf_paperid;
private string _psf_PlateSource;
private string _psf_CTPSpecType;
private string _psf_FilmType;
private int? _psf_CTPCount;
private string _psf_PSSpec;
private int? _psf_PSCount;
public string shifouxianshi { get; set; }
public string shifouxianshiheban { get; set; }
///
/// 主键--标识ID
///
public int? Keyid
{
set{ _keyid=value;}
get{return _keyid;}
}
///
/// 施工单号
///
public int? SpecialOrderId
{
set{ _specialorderid=value;}
get{return _specialorderid;}
}
///
/// 版面编号
///
public int? PSF_Forumsid
{
set{ _psf_forumsid=value;}
get{return _psf_forumsid;}
}
///
/// 构件
///
public string PSF_Component
{
set{ _psf_component=value;}
get{return _psf_component;}
}
///
/// P数
///
public int? PSF_PNum
{
set{ _psf_pnum=value;}
get{return _psf_pnum;}
}
///
/// 印刷机台
///
public string PSF_PressesDesk
{
set{ _psf_pressesdesk=value;}
get{return _psf_pressesdesk;}
}
///
/// 印色(正)
///
public string PSF_PrintedColorPositive
{
set{ _psf_printedcolorpositive=value;}
get{return _psf_printedcolorpositive;}
}
///
/// 印色(背)
///
public string PSF_PrintedColorRear
{
set{ _psf_printedcolorrear=value;}
get{return _psf_printedcolorrear;}
}
///
/// 排版方式
///
public string PSF_Typesetting
{
set{ _psf_typesetting=value;}
get{return _psf_typesetting;}
}
///
/// 印刷正数
///
public int? PSF_PrintedPositive
{
set{ _psf_printedpositive=value;}
get{return _psf_printedpositive;}
}
///
/// 印刷数量
///
public int? PSF_PrintedCount
{
set{ _psf_printedcount=value;}
get{return _psf_printedcount;}
}
///
/// 后道放数
///
public int? PSF_LastNum
{
set{ _psf_lastnum=value;}
get{return _psf_lastnum;}
}
///
/// 纸张来源
///
public string PSF_PaperSource
{
set{ _psf_papersource=value;}
get{return _psf_papersource;}
}
///
/// 纸张名称
///
public string PSF_PaperName
{
set{ _psf_papername=value;}
get{return _psf_papername;}
}
///
/// 材料规格
///
public string PSF_MaterialSpecifications
{
set{ _psf_materialspecifications=value;}
get{return _psf_materialspecifications;}
}
///
/// 大纸数量
///
public int? PSF_BigPaperCount
{
set{ _psf_bigpapercount=value;}
get{return _psf_bigpapercount;}
}
///
/// 开料规格
///
public string PSF_OpenSpecifications
{
set{ _psf_openspecifications=value;}
get{return _psf_openspecifications;}
}
///
/// 开料宽度
///
public int? PSF_OpenWidth
{
set{ _psf_openwidth=value;}
get{return _psf_openwidth;}
}
///
/// 开料长度
///
public int? PSF_OpenLength
{
set{ _psf_openlength=value;}
get{return _psf_openlength;}
}
///
/// 版材来源
///
public string PSF_PlateSource
{
set { _psf_PlateSource = value; }
get { return _psf_PlateSource; }
}
///
/// CTP规格
///
public string PSF_CTPSpecType
{
set { _psf_CTPSpecType = value; }
get { return _psf_CTPSpecType; }
}
///
/// 菲林规格
///
public string PSF_FilmType
{
set { _psf_FilmType = value; }
get { return _psf_FilmType; }
}
///
/// CTP数量
///
public int? PSF_CTPCount
{
set { _psf_CTPCount = value; }
get { return _psf_CTPCount; }
}
///
/// PS规格
///
public string PSF_PSSpec
{
set { _psf_PSSpec = value; }
get { return _psf_PSSpec; }
}
///
/// PS数量
///
public int? PSF_PSCount
{
set { _psf_PSCount = value; }
get { return _psf_PSCount; }
}
///
/// 注意事项
///
public string PSF_Note
{
set{ _psf_note=value;}
get{return _psf_note;}
}
///
/// 使用库存表id
///
public int? PSF_PaperId
{
set
{
_psf_paperid = value;
}
get
{
return _psf_paperid;
}
}
#endregion Model
#region Visiter
///
/// 属性访问器
///
/// 属性名
/// 索引
/// 是否将指定属性设置为传入值
/// 需要赋予的值
/// 与名称对应的属性值
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) : Keyid;
theValue = this.Keyid;
}
else if ("SpecialOrderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
{
this.SpecialOrderId = isChange ? MyConvert.ConvertToInt32(value) : SpecialOrderId;
theValue = this.SpecialOrderId;
}
else if ("PSF_Forumsid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
{
this.PSF_Forumsid = isChange ? MyConvert.ConvertToInt32(value) : PSF_Forumsid;
theValue = this.PSF_Forumsid;
}
else if ("PSF_Component".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
{
this.PSF_Component = isChange ? MyConvert.ConvertToString(value) : PSF_Component;
theValue = this.PSF_Component;
}
else if ("PSF_PNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
{
this.PSF_PNum = isChange ? MyConvert.ConvertToInt32(value) : PSF_PNum;
theValue = this.PSF_PNum;
}
else if ("PSF_PressesDesk".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
{
this.PSF_PressesDesk = isChange ? MyConvert.ConvertToString(value) : PSF_PressesDesk;
theValue = this.PSF_PressesDesk;
}
else if ("PSF_PrintedColorPositive".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
{
this.PSF_PrintedColorPositive = isChange ? MyConvert.ConvertToString(value) : PSF_PrintedColorPositive;
theValue = this.PSF_PrintedColorPositive;
}
else if ("PSF_PrintedColorRear".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
{
this.PSF_PrintedColorRear = isChange ? MyConvert.ConvertToString(value) : PSF_PrintedColorRear;
theValue = this.PSF_PrintedColorRear;
}
else if ("PSF_Typesetting".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
{
this.PSF_Typesetting = isChange ? MyConvert.ConvertToString(value) : PSF_Typesetting;
theValue = this.PSF_Typesetting;
}
else if ("PSF_PrintedPositive".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
{
this.PSF_PrintedPositive = isChange ? MyConvert.ConvertToInt32(value) : PSF_PrintedPositive;
theValue = this.PSF_PrintedPositive;
}
else if ("PSF_PrintedCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
{
this.PSF_PrintedCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_PrintedCount;
theValue = this.PSF_PrintedCount;
}
else if ("PSF_LastNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
{
this.PSF_LastNum = isChange ? MyConvert.ConvertToInt32(value) : PSF_LastNum;
theValue = this.PSF_LastNum;
}
else if ("PSF_PaperSource".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
{
this.PSF_PaperSource = isChange ? MyConvert.ConvertToString(value) : PSF_PaperSource;
theValue = this.PSF_PaperSource;
}
else if ("PSF_PaperName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
{
this.PSF_PaperName = isChange ? MyConvert.ConvertToString(value) : PSF_PaperName;
theValue = this.PSF_PaperName;
}
else if ("PSF_MaterialSpecifications".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
{
this.PSF_MaterialSpecifications = isChange ? MyConvert.ConvertToString(value) : PSF_MaterialSpecifications;
theValue = this.PSF_MaterialSpecifications;
}
else if ("PSF_BigPaperCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
{
this.PSF_BigPaperCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_BigPaperCount;
theValue = this.PSF_BigPaperCount;
}
else if ("PSF_OpenSpecifications".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
{
this.PSF_OpenSpecifications = isChange ? MyConvert.ConvertToString(value) : PSF_OpenSpecifications;
theValue = this.PSF_OpenSpecifications;
}
else if ("PSF_OpenWidth".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
{
this.PSF_OpenWidth = isChange ? MyConvert.ConvertToInt32(value) : PSF_OpenWidth;
theValue = this.PSF_OpenWidth;
}
else if ("PSF_OpenLength".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
{
this.PSF_OpenLength = isChange ? MyConvert.ConvertToInt32(value) : PSF_OpenLength;
theValue = this.PSF_OpenLength;
}
else if ("PSF_PlateSource".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
{
this.PSF_PlateSource = isChange ? MyConvert.ConvertToString(value) : PSF_PlateSource;
theValue = this.PSF_PlateSource;
}
else if ("PSF_CTPSpecType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
{
this.PSF_CTPSpecType = isChange ? MyConvert.ConvertToString(value) : PSF_CTPSpecType;
theValue = this.PSF_CTPSpecType;
}
else if ("PSF_FilmType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
{
this.PSF_FilmType = isChange ? MyConvert.ConvertToString(value) : PSF_FilmType;
theValue = this.PSF_FilmType;
}
else if ("PSF_CTPCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
{
this.PSF_CTPCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_CTPCount;
theValue = this.PSF_CTPCount;
}
else if ("PSF_PSSpec".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
{
this.PSF_PSSpec = isChange ? MyConvert.ConvertToString(value) : PSF_PSSpec;
theValue = this.PSF_PSSpec;
}
else if ("PSF_PSCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
{
this.PSF_PSCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_PSCount;
theValue = this.PSF_PSCount;
}
else if ("PSF_Note".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 31)
{
this.PSF_Note = isChange ? MyConvert.ConvertToString(value) : PSF_Note;
theValue = this.PSF_Note;
}
else if ("PSF_PaperId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 32)
{
this.PSF_PaperId = isChange ? MyConvert.ConvertToInt32(value) : PSF_PaperId;
theValue = this.PSF_PaperId;
}
return theValue;
}
#endregion
}
}