using System;
|
using CY.Infrastructure.Domain;
|
using CY.Infrastructure.Common;
|
|
namespace CY.Model
|
{
|
/// <summary>
|
/// 代理申请
|
/// </summary>
|
[Serializable]
|
public partial class EC_ProxyApplication : IAggregateRoot
|
{
|
public EC_ProxyApplication()
|
{
|
}
|
|
#region Model
|
|
private int? _keyid;
|
private Guid _applicationmemberid;
|
private string _applicationtype;
|
private string _applicationarea;
|
private string _applicationarealevel;
|
private DateTime? _applicationtime;
|
private string _applicationstatus;
|
private string _unitname;
|
private string _unitlegal;
|
private decimal? _unitregistcapital;
|
private string _unaddressidetail;
|
private string _unitcontacts;
|
private string _unitphonenum;
|
private string _unitbusiness;
|
private decimal? _unitannualmoney;
|
private decimal? _unitannualprofit;
|
private string _unitmachine;
|
private string _unitstaffnum;
|
private string _unitsize;
|
private string _unitcustomdetail;
|
private string _unitlegaldetail;
|
private string _unitshareholder;
|
private string _unitaffiliateprogram;
|
private string _unitsuperiority;
|
private DateTime? _handletime;
|
private string _handlepeople;
|
private string _handleresult;
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
public int? Keyid
|
{
|
set
|
{
|
_keyid = value;
|
}
|
get
|
{
|
return _keyid;
|
}
|
}
|
/// <summary>
|
/// 会员Id
|
/// </summary>
|
public Guid ApplicationMemberId
|
{
|
set
|
{
|
_applicationmemberid = value;
|
}
|
get
|
{
|
return _applicationmemberid;
|
}
|
}
|
/// <summary>
|
/// 申请类型
|
/// </summary>
|
public string ApplicationType
|
{
|
set
|
{
|
_applicationtype = value;
|
}
|
get
|
{
|
return _applicationtype;
|
}
|
}
|
/// <summary>
|
/// 申请区域
|
/// </summary>
|
public string ApplicationArea
|
{
|
set
|
{
|
_applicationarea = value;
|
}
|
get
|
{
|
return _applicationarea;
|
}
|
}
|
/// <summary>
|
/// 区域级别
|
/// </summary>
|
public string ApplicationAreaLevel
|
{
|
set
|
{
|
_applicationarealevel = value;
|
}
|
get
|
{
|
return _applicationarealevel;
|
}
|
}
|
/// <summary>
|
/// 申请时间
|
/// </summary>
|
public DateTime? ApplicationTime
|
{
|
set
|
{
|
_applicationtime = value;
|
}
|
get
|
{
|
return _applicationtime;
|
}
|
}
|
/// <summary>
|
/// 申请状态 已申请 同意申请
|
/// </summary>
|
public string ApplicationStatus
|
{
|
set
|
{
|
_applicationstatus = value;
|
}
|
get
|
{
|
return _applicationstatus;
|
}
|
}
|
/// <summary>
|
/// 申请单位
|
/// </summary>
|
public string UnitName
|
{
|
set
|
{
|
_unitname = value;
|
}
|
get
|
{
|
return _unitname;
|
}
|
}
|
/// <summary>
|
/// 法人代表
|
/// </summary>
|
public string UnitLegal
|
{
|
set
|
{
|
_unitlegal = value;
|
}
|
get
|
{
|
return _unitlegal;
|
}
|
}
|
/// <summary>
|
/// 注册资金(万元)
|
/// </summary>
|
public decimal? UnitRegistCapital
|
{
|
set
|
{
|
_unitregistcapital = value;
|
}
|
get
|
{
|
return _unitregistcapital;
|
}
|
}
|
/// <summary>
|
/// 详细地址
|
/// </summary>
|
public string UnAddressiDetail
|
{
|
set
|
{
|
_unaddressidetail = value;
|
}
|
get
|
{
|
return _unaddressidetail;
|
}
|
}
|
/// <summary>
|
/// 联系人
|
/// </summary>
|
public string UnitContacts
|
{
|
set
|
{
|
_unitcontacts = value;
|
}
|
get
|
{
|
return _unitcontacts;
|
}
|
}
|
/// <summary>
|
/// 联系电话
|
/// </summary>
|
public string UnitPhoneNum
|
{
|
set
|
{
|
_unitphonenum = value;
|
}
|
get
|
{
|
return _unitphonenum;
|
}
|
}
|
/// <summary>
|
/// 主营业务
|
/// </summary>
|
public string UnitBusiness
|
{
|
set
|
{
|
_unitbusiness = value;
|
}
|
get
|
{
|
return _unitbusiness;
|
}
|
}
|
/// <summary>
|
/// 年产值
|
/// </summary>
|
public decimal? UnitAnnualMoney
|
{
|
set
|
{
|
_unitannualmoney = value;
|
}
|
get
|
{
|
return _unitannualmoney;
|
}
|
}
|
/// <summary>
|
/// 年利润
|
/// </summary>
|
public decimal? UnitAnnualProfit
|
{
|
set
|
{
|
_unitannualprofit = value;
|
}
|
get
|
{
|
return _unitannualprofit;
|
}
|
}
|
/// <summary>
|
/// 主要设备
|
/// </summary>
|
public string UnitMachine
|
{
|
set
|
{
|
_unitmachine = value;
|
}
|
get
|
{
|
return _unitmachine;
|
}
|
}
|
/// <summary>
|
/// 员工人数
|
/// </summary>
|
public string UnitStaffNum
|
{
|
set
|
{
|
_unitstaffnum = value;
|
}
|
get
|
{
|
return _unitstaffnum;
|
}
|
}
|
/// <summary>
|
/// 场地面积
|
/// </summary>
|
public string UnitSize
|
{
|
set
|
{
|
_unitsize = value;
|
}
|
get
|
{
|
return _unitsize;
|
}
|
}
|
/// <summary>
|
/// 主要客户简介
|
/// </summary>
|
public string UnitCustomDetail
|
{
|
set
|
{
|
_unitcustomdetail = value;
|
}
|
get
|
{
|
return _unitcustomdetail;
|
}
|
}
|
/// <summary>
|
/// 法人代表简历
|
/// </summary>
|
public string UnitLegalDetail
|
{
|
set
|
{
|
_unitlegaldetail = value;
|
}
|
get
|
{
|
return _unitlegaldetail;
|
}
|
}
|
/// <summary>
|
/// 股东情况介绍
|
/// </summary>
|
public string UnitShareholder
|
{
|
set
|
{
|
_unitshareholder = value;
|
}
|
get
|
{
|
return _unitshareholder;
|
}
|
}
|
/// <summary>
|
/// 代理计划及发展目标
|
/// </summary>
|
public string UnitAffiliateProgram
|
{
|
set
|
{
|
_unitaffiliateprogram = value;
|
}
|
get
|
{
|
return _unitaffiliateprogram;
|
}
|
}
|
/// <summary>
|
/// 优势说明
|
/// </summary>
|
public string UnitSuperiority
|
{
|
set
|
{
|
_unitsuperiority = value;
|
}
|
get
|
{
|
return _unitsuperiority;
|
}
|
}
|
/// <summary>
|
/// 处理时间
|
/// </summary>
|
public DateTime? HandleTime
|
{
|
set
|
{
|
_handletime = value;
|
}
|
get
|
{
|
return _handletime;
|
}
|
}
|
/// <summary>
|
/// 处理人
|
/// </summary>
|
public string HandlePeople
|
{
|
set
|
{
|
_handlepeople = value;
|
}
|
get
|
{
|
return _handlepeople;
|
}
|
}
|
/// <summary>
|
/// 处理结果
|
/// </summary>
|
public string HandleResult
|
{
|
set
|
{
|
_handleresult = value;
|
}
|
get
|
{
|
return _handleresult;
|
}
|
}
|
|
#endregion Model
|
|
#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) : Keyid;
|
theValue = this.Keyid;
|
}
|
else if ("ApplicationMemberId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
|
{
|
this.ApplicationMemberId = isChange ? MyConvert.ConvertToGuid(value) : ApplicationMemberId;
|
theValue = this.ApplicationMemberId;
|
}
|
else if ("ApplicationType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
|
{
|
this.ApplicationType = isChange ? MyConvert.ConvertToString(value) : ApplicationType;
|
theValue = this.ApplicationType;
|
}
|
else if ("ApplicationArea".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
|
{
|
this.ApplicationArea = isChange ? MyConvert.ConvertToString(value) : ApplicationArea;
|
theValue = this.ApplicationArea;
|
}
|
else if ("ApplicationAreaLevel".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.ApplicationAreaLevel = isChange ? MyConvert.ConvertToString(value) : ApplicationAreaLevel;
|
theValue = this.ApplicationAreaLevel;
|
}
|
else if ("ApplicationTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
|
{
|
this.ApplicationTime = isChange ? MyConvert.ConvertToDateTime(value) : ApplicationTime;
|
theValue = this.ApplicationTime;
|
}
|
else if ("ApplicationStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
|
{
|
this.ApplicationStatus = isChange ? MyConvert.ConvertToString(value) : ApplicationStatus;
|
theValue = this.ApplicationStatus;
|
}
|
else if ("UnitName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
|
{
|
this.UnitName = isChange ? MyConvert.ConvertToString(value) : UnitName;
|
theValue = this.UnitName;
|
}
|
else if ("UnitLegal".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
|
{
|
this.UnitLegal = isChange ? MyConvert.ConvertToString(value) : UnitLegal;
|
theValue = this.UnitLegal;
|
}
|
else if ("UnitRegistCapital".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.UnitRegistCapital = isChange ? MyConvert.ConvertToInt32(value) : UnitRegistCapital;
|
theValue = this.UnitRegistCapital;
|
}
|
else if ("UnAddressiDetail".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
|
{
|
this.UnAddressiDetail = isChange ? MyConvert.ConvertToString(value) : UnAddressiDetail;
|
theValue = this.UnAddressiDetail;
|
}
|
else if ("UnitContacts".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
|
{
|
this.UnitContacts = isChange ? MyConvert.ConvertToString(value) : UnitContacts;
|
theValue = this.UnitContacts;
|
}
|
else if ("UnitPhoneNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
|
{
|
this.UnitPhoneNum = isChange ? MyConvert.ConvertToString(value) : UnitPhoneNum;
|
theValue = this.UnitPhoneNum;
|
}
|
else if ("UnitBusiness".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
|
{
|
this.UnitBusiness = isChange ? MyConvert.ConvertToString(value) : UnitBusiness;
|
theValue = this.UnitBusiness;
|
}
|
else if ("UnitAnnualMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
|
{
|
this.UnitAnnualMoney = isChange ? MyConvert.ConvertToDecimal(value) : UnitAnnualMoney;
|
theValue = this.UnitAnnualMoney;
|
}
|
else if ("UnitAnnualProfit".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
|
{
|
this.UnitAnnualProfit = isChange ? MyConvert.ConvertToInt32(value) : UnitAnnualProfit;
|
theValue = this.UnitAnnualProfit;
|
}
|
else if ("UnitMachine".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
|
{
|
this.UnitMachine = isChange ? MyConvert.ConvertToString(value) : UnitMachine;
|
theValue = this.UnitMachine;
|
}
|
else if ("UnitStaffNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
|
{
|
this.UnitStaffNum = isChange ? MyConvert.ConvertToString(value) : UnitStaffNum;
|
theValue = this.UnitStaffNum;
|
}
|
else if ("UnitSize".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
|
{
|
this.UnitSize = isChange ? MyConvert.ConvertToString(value) : UnitSize;
|
theValue = this.UnitSize;
|
}
|
else if ("UnitCustomDetail".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
|
{
|
this.UnitCustomDetail = isChange ? MyConvert.ConvertToString(value) : UnitCustomDetail;
|
theValue = this.UnitCustomDetail;
|
}
|
else if ("UnitLegalDetail".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
|
{
|
this.UnitLegalDetail = isChange ? MyConvert.ConvertToString(value) : UnitLegalDetail;
|
theValue = this.UnitLegalDetail;
|
}
|
else if ("UnitShareholder".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
|
{
|
this.UnitShareholder = isChange ? MyConvert.ConvertToString(value) : UnitShareholder;
|
theValue = this.UnitShareholder;
|
}
|
else if ("UnitAffiliateProgram".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
|
{
|
this.UnitAffiliateProgram = isChange ? MyConvert.ConvertToString(value) : UnitAffiliateProgram;
|
theValue = this.UnitAffiliateProgram;
|
}
|
else if ("UnitSuperiority".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
|
{
|
this.UnitSuperiority = isChange ? MyConvert.ConvertToString(value) : UnitSuperiority;
|
theValue = this.UnitSuperiority;
|
}
|
else if ("HandleTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
|
{
|
this.HandleTime = isChange ? MyConvert.ConvertToDateTime(value) : HandleTime;
|
theValue = this.HandleTime;
|
}
|
else if ("HandlePeople".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
|
{
|
this.HandlePeople = isChange ? MyConvert.ConvertToString(value) : HandlePeople;
|
theValue = this.HandlePeople;
|
}
|
else if ("HandleResult".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
|
{
|
this.HandleResult = isChange ? MyConvert.ConvertToString(value) : HandleResult;
|
theValue = this.HandleResult;
|
}
|
|
return theValue;
|
}
|
#endregion
|
}
|
}
|