/**
* OA_SuppliersOtherQualification.cs
*
* 功 能: N/A
* 类 名: OA_SuppliersOtherQualification
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2013-4-2 14:28:05 N/A 初版
*
*
*
*
*
*
*/
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
///
/// 办公系统供应商其他资质
///
[Serializable]
public partial class OA_SuppliersOtherQualification : IAggregateRoot
{
public OA_SuppliersOtherQualification()
{ }
#region Model
private int? _suppliersid;
private string _fileid;
///
/// 供应商编号
///
public int? SuppliersId
{
set { _suppliersid = value; }
get { return _suppliersid; }
}
///
/// 资质文件编号
///
public string FileId
{
set { _fileid = value; }
get { return _fileid; }
}
#endregion Model
#region Visiter
///
/// 属性访问器
///
/// 属性名
/// 索引
/// 是否将指定属性设置为传入值
/// 需要赋予的值
/// 与名称对应的属性值
public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
{
object theValue = null;
if ("SuppliersId".Equals(name,StringComparison.CurrentCultureIgnoreCase) || index == 1)
{
this.SuppliersId = isChange ? MyConvert.ConvertToInt32(value) : SuppliersId;
theValue = this.SuppliersId;
}
else if ("FileId".Equals(name,StringComparison.CurrentCultureIgnoreCase) || index == 2)
{
this.FileId = isChange ? MyConvert.ConvertToString(value) : FileId;
theValue = this.FileId;
}
return theValue;
}
#endregion
}
}