|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业信息表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CompanyEntity
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _GID;//公司GID
|
|
|
|
|
private string _NAME;//公司名称
|
|
|
|
|
private string _CODENAME;//公司代码名
|
|
|
|
|
private string _ADDRESS;//公司地址
|
|
|
|
|
private string _POSTCODE;//公司邮政编码
|
|
|
|
|
private string _OFFICEPHONE;//公司办公电话
|
|
|
|
|
private string _FAX;//公司传真号码
|
|
|
|
|
private string _EMAIL;//公司电子邮箱
|
|
|
|
|
private string _WEBSITEURL;//公司主页地址
|
|
|
|
|
private string _LICENSECODE;//公司工商登记号
|
|
|
|
|
private string _TAXCODE;//公司税务登记号
|
|
|
|
|
private string _CREATEUSER;//创建人GID
|
|
|
|
|
private DateTime _createTime;//创建时间
|
|
|
|
|
private string _MODIFIEDUSER;//最后一次更改操作人GID
|
|
|
|
|
private DateTime _MODIFIEDTIME;//最后一次更新操作时间
|
|
|
|
|
private bool _ISDELETED;//公司是否删除,如果值为1表示此公司信息已被删除,否则值为0
|
|
|
|
|
private bool _ISDISABLE;//公司是否被禁用,如果值为1表示此公司已被禁用,否则值为0
|
|
|
|
|
private string _PARENTID;//公司父公司GID
|
|
|
|
|
private string _FULLNAME;//公司全称
|
|
|
|
|
|
|
|
|
|
private string _ENNAME;//公司英文名称
|
|
|
|
|
private string _ENADDRESS;//公司英文地址
|
|
|
|
|
private Byte[] _LOGO;//徽标
|
|
|
|
|
private string _BillRises;//发票抬头
|
|
|
|
|
private string _ChequePayable;//支票抬头
|
|
|
|
|
private string _PRTHEADXML1;// 打印抬头1
|
|
|
|
|
private string _PRTHEADXML2;// 打印抬头2
|
|
|
|
|
private string _PRTHEADXML3;// 打印抬头3
|
|
|
|
|
private string _PRTHEADXML4;// 打印抬头4
|
|
|
|
|
private string _PRTHEADXML5;// 打印抬头5
|
|
|
|
|
private string _BANKSHEAD;// 票号头字符
|
|
|
|
|
private string _LOCALCURR;// 本地币别
|
|
|
|
|
private string _WORKFLOWMSG="0";// 是否启用消息提示
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public CompanyEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NAME
|
|
|
|
|
{
|
|
|
|
|
get { return _NAME; }
|
|
|
|
|
set { _NAME = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司代码名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CODENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CODENAME; }
|
|
|
|
|
set { _CODENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ADDRESS
|
|
|
|
|
{
|
|
|
|
|
get { return _ADDRESS; }
|
|
|
|
|
set { _ADDRESS = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司邮政编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string POSTCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _POSTCODE; }
|
|
|
|
|
set { _POSTCODE = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司办公电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OFFICEPHONE
|
|
|
|
|
{
|
|
|
|
|
get { return _OFFICEPHONE; }
|
|
|
|
|
set { _OFFICEPHONE = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司传真号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FAX
|
|
|
|
|
{
|
|
|
|
|
get { return _FAX; }
|
|
|
|
|
set { _FAX = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司电子邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EMAIL
|
|
|
|
|
{
|
|
|
|
|
get { return _EMAIL; }
|
|
|
|
|
set { _EMAIL = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司主页地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WEBSITEURL
|
|
|
|
|
{
|
|
|
|
|
get { return _WEBSITEURL; }
|
|
|
|
|
set { _WEBSITEURL = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司工商登记号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LICENSECODE
|
|
|
|
|
{
|
|
|
|
|
get { return _LICENSECODE; }
|
|
|
|
|
set { _LICENSECODE = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司税务登记号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TAXCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _TAXCODE; }
|
|
|
|
|
set { _TAXCODE = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSER; }
|
|
|
|
|
set { _CREATEUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime
|
|
|
|
|
{
|
|
|
|
|
get { return _createTime; }
|
|
|
|
|
set { _createTime = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更改操作人GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSER; }
|
|
|
|
|
set { _MODIFIEDUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDTIME; }
|
|
|
|
|
set { _MODIFIEDTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司是否删除,如果值为1表示此公司信息已被删除,否则值为0
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISDELETED
|
|
|
|
|
{
|
|
|
|
|
get { return _ISDELETED; }
|
|
|
|
|
set { _ISDELETED = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司是否被禁用,如果值为1表示此公司已被禁用,否则值为0
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISDISABLE
|
|
|
|
|
{
|
|
|
|
|
get { return _ISDISABLE; }
|
|
|
|
|
set { _ISDISABLE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司父公司GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PARENTID
|
|
|
|
|
{
|
|
|
|
|
get { return _PARENTID; }
|
|
|
|
|
set { _PARENTID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司全称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FULLNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _FULLNAME; }
|
|
|
|
|
set { _FULLNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ENNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _ENNAME; }
|
|
|
|
|
set { _ENNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司英文地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ENADDRESS
|
|
|
|
|
{
|
|
|
|
|
get { return _ENADDRESS; }
|
|
|
|
|
set { _ENADDRESS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 徽标
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Byte[] LOGO
|
|
|
|
|
{
|
|
|
|
|
get { return _LOGO; }
|
|
|
|
|
set { _LOGO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BillRises
|
|
|
|
|
{
|
|
|
|
|
get { return _BillRises; }
|
|
|
|
|
set { _BillRises = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支票抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChequePayable
|
|
|
|
|
{
|
|
|
|
|
get { return _ChequePayable; }
|
|
|
|
|
set { _ChequePayable = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印抬头1
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PRTHEADXML1
|
|
|
|
|
{
|
|
|
|
|
get { return _PRTHEADXML1; }
|
|
|
|
|
set { _PRTHEADXML1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印抬头2
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PRTHEADXML2
|
|
|
|
|
{
|
|
|
|
|
get { return _PRTHEADXML2; }
|
|
|
|
|
set { _PRTHEADXML2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印抬头3
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PRTHEADXML3
|
|
|
|
|
{
|
|
|
|
|
get { return _PRTHEADXML3; }
|
|
|
|
|
set { _PRTHEADXML3 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印抬头4
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PRTHEADXML4
|
|
|
|
|
{
|
|
|
|
|
get { return _PRTHEADXML4; }
|
|
|
|
|
set { _PRTHEADXML4 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印抬头5
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PRTHEADXML5
|
|
|
|
|
{
|
|
|
|
|
get { return _PRTHEADXML5; }
|
|
|
|
|
set { _PRTHEADXML5 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印抬头5
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BANKSHEAD
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKSHEAD; }
|
|
|
|
|
set { _BANKSHEAD = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本地货币
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LOCALCURR
|
|
|
|
|
{
|
|
|
|
|
get { return _LOCALCURR; }
|
|
|
|
|
set { _LOCALCURR = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否启用消息提示
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WORKFLOWMSG
|
|
|
|
|
{
|
|
|
|
|
get { return _WORKFLOWMSG; }
|
|
|
|
|
set { _WORKFLOWMSG = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|