?? serviceproviderinfo.cs
字號:
using System;
namespace CallCenter.Modules
{
/// <summary>
/// 服務商基本信息
/// </summary>
public class ServiceProviderInfo
{
public ServiceProviderInfo()
{
//
// TODO: 在此處添加構造函數邏輯
//
}
private int _id;
private string _sname;
private int _stype;
private string _stname;
private string _sdate;
private string _slinkname;
private string _stelephone;
private string _sfax;
private string _semail;
private string _sweb;
private string _ctype;
private string _ckeywords;
private string _saddress;
private int _position;
private string _sbrief;
private int _sgood;
private int _sbad;
public int id
{
set{_id = value;}
get{return _id;}
}
public string stname
{
set{_stname = value;}
get{return _stname==null?"":_stname;}
}
public int stype
{
set{_stype = value;}
get{return _stype;}
}
public string sname
{
set{_sname = value;}
get{return _sname==null?"":_sname;}
}
public string sdate
{
set{_sdate = value;}
get{return _sdate==null?"":_sdate;}
}
public string slinkname
{
set{_slinkname = value;}
get{return _slinkname==null?"":_slinkname;}
}
public string stelephone
{
set{_stelephone = value;}
get{return _stelephone==null?"":_stelephone;}
}
public string sfax
{
set{_sfax = value;}
get{return _sfax==null?"":_sfax;}
}
public string semail
{
set{_semail = value;}
get{return _semail==null?"":_semail;}
}
public string sweb
{
set{_sweb = value;}
get{return _sweb==null?"":_sweb;}
}
public string ctype
{
set{_ctype = value;}
get{return _ctype==null?"":_ctype;}
}
public string ckeywords
{
set{_ckeywords = value;}
get{return _ckeywords==null?"":_ckeywords;}
}
public string saddress
{
set{_saddress = value;}
get{return _saddress==null?"":_saddress;}
}
public int position
{
set{_position = value;}
get{return _position;}
}
public string sbrief
{
set{_sbrief = value;}
get{return _sbrief==null?"":_sbrief;}
}
public int sgood
{
set{_sgood = value;}
get{return _sgood;}
}
public int sbad
{
set{_sbad = value;}
get{return _sbad;}
}
public override string ToString()
{
// TODO: 添加 ServiceProviderInfo.ToString 實現
return "id = "+this.id+" ; sname = "+this.sname+" ; stype ="+this.stype+" ; stname="+this.stname+" ; sdate = "+this.sdate+
" ; slinkname = "+this.slinkname+" ; stelephone = "+this.stelephone+" ; sfax = "+this.sfax+
" ; semail = "+this.semail+" ; sweb = "+this.sweb+" ; ctype = "+this.ctype+" ; ckeywords = "+
this.ckeywords+" ; saddress = "+this.saddress+" ; position = "+this.position+" ; sbrief = "+
this.sbrief+" ; sgood ="+this.sgood+" ; sbad = "+this.sbad;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -