You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
479 lines
11 KiB
C#
479 lines
11 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCompanys
|
|
{
|
|
[JsonObject]
|
|
public class MsCompanysEntity : ModelObjectBillHead
|
|
{
|
|
#region 属性
|
|
//private string _BSNO = "topother" + Guid.NewGuid().ToString();//业务编号
|
|
|
|
private string _gid = "*";
|
|
/// <summary>
|
|
/// GID
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private string _codename = "";
|
|
/// <summary>
|
|
/// CODENAME
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CODENAME
|
|
{
|
|
get { return _codename; }
|
|
set { _codename = value; }
|
|
}
|
|
|
|
private string _name = "";
|
|
/// <summary>
|
|
/// NAME
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string NAME
|
|
{
|
|
get { return _name; }
|
|
set { _name = value; }
|
|
}
|
|
|
|
private string _fullname = "";
|
|
/// <summary>
|
|
/// FULLNAME
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FULLNAME
|
|
{
|
|
get { return _fullname; }
|
|
set { _fullname = value; }
|
|
}
|
|
|
|
private string _enname = "";
|
|
/// <summary>
|
|
/// 公司英文名称
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ENNAME
|
|
{
|
|
get { return _enname; }
|
|
set { _enname = value; }
|
|
}
|
|
|
|
private string _address = "";
|
|
/// <summary>
|
|
/// ADDRESS
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ADDRESS
|
|
{
|
|
get { return _address; }
|
|
set { _address = value; }
|
|
}
|
|
|
|
private string _enaddress = "";
|
|
/// <summary>
|
|
/// 公司英文地址
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ENADDRESS
|
|
{
|
|
get { return _enaddress; }
|
|
set { _enaddress = value; }
|
|
}
|
|
|
|
private string _postcode = "";
|
|
/// <summary>
|
|
/// POSTCODE
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string POSTCODE
|
|
{
|
|
get { return _postcode; }
|
|
set { _postcode = value; }
|
|
}
|
|
|
|
private string _officephone = "";
|
|
/// <summary>
|
|
/// OFFICEPHONE
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string OFFICEPHONE
|
|
{
|
|
get { return _officephone; }
|
|
set { _officephone = value; }
|
|
}
|
|
|
|
private string _fax = "";
|
|
/// <summary>
|
|
/// FAX
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FAX
|
|
{
|
|
get { return _fax; }
|
|
set { _fax = value; }
|
|
}
|
|
|
|
private string _email = "";
|
|
/// <summary>
|
|
/// EMAIL
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EMAIL
|
|
{
|
|
get { return _email; }
|
|
set { _email = value; }
|
|
}
|
|
|
|
private string _websiteurl = "";
|
|
/// <summary>
|
|
/// WEBSITEURL
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string WEBSITEURL
|
|
{
|
|
get { return _websiteurl; }
|
|
set { _websiteurl = value; }
|
|
}
|
|
|
|
private string _licensecode = "";
|
|
/// <summary>
|
|
/// LICENSECODE
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string LICENSECODE
|
|
{
|
|
get { return _licensecode; }
|
|
set { _licensecode = value; }
|
|
}
|
|
|
|
private string _taxcode = "";
|
|
/// <summary>
|
|
/// TAXCODE
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string TAXCODE
|
|
{
|
|
get { return _taxcode; }
|
|
set { _taxcode = value; }
|
|
}
|
|
|
|
private byte[] _logo;
|
|
/// <summary>
|
|
/// 徽标
|
|
/// </summary>
|
|
[ModelDB]
|
|
public byte[] LOGO
|
|
{
|
|
get { return _logo; }
|
|
set { _logo = value; }
|
|
}
|
|
|
|
private string _createuser = "";
|
|
/// <summary>
|
|
/// CREATEUSER
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _createuser; }
|
|
set { _createuser = value; }
|
|
}
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
/// <summary>
|
|
/// CREATETIME
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public DateTime CREATETIME
|
|
{
|
|
get { return _createtime; }
|
|
set { _createtime = value; }
|
|
}
|
|
|
|
private string _modifieduser = "";
|
|
/// <summary>
|
|
/// 更新人gid
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _modifieduser; }
|
|
set { _modifieduser = value; }
|
|
}
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime MODIFIEDTIME
|
|
{
|
|
get { return _modifiedtime; }
|
|
set { _modifiedtime = value; }
|
|
}
|
|
|
|
private bool _isdeleted = false;
|
|
/// <summary>
|
|
/// ISDELETED
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public bool ISDELETED
|
|
{
|
|
get { return _isdeleted; }
|
|
set { _isdeleted = value; }
|
|
}
|
|
|
|
private bool _isdisable = false;
|
|
/// <summary>
|
|
/// ISDISABLE
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All)]
|
|
public bool ISDISABLE
|
|
{
|
|
get { return _isdisable; }
|
|
set { _isdisable = value; }
|
|
}
|
|
|
|
private string _parentid = "";
|
|
/// <summary>
|
|
/// PARENTID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PARENTID
|
|
{
|
|
get { return _parentid; }
|
|
set { _parentid = value; }
|
|
}
|
|
|
|
private string _billrises = "";
|
|
/// <summary>
|
|
/// 发票抬头
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BILLRISES
|
|
{
|
|
get { return _billrises; }
|
|
set { _billrises = value; }
|
|
}
|
|
|
|
private string _chequepayable = "";
|
|
/// <summary>
|
|
/// 支票抬头
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CHEQUEPAYABLE
|
|
{
|
|
get { return _chequepayable; }
|
|
set { _chequepayable = value; }
|
|
}
|
|
|
|
private string _prtheadxml1 = "";
|
|
/// <summary>
|
|
/// 打印抬头1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PRTHEADXML1
|
|
{
|
|
get { return _prtheadxml1; }
|
|
set { _prtheadxml1 = value; }
|
|
}
|
|
|
|
private string _prtheadxml2 = "";
|
|
/// <summary>
|
|
/// 打印抬头2
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PRTHEADXML2
|
|
{
|
|
get { return _prtheadxml2; }
|
|
set { _prtheadxml2 = value; }
|
|
}
|
|
|
|
private string _prtheadxml3 = "";
|
|
/// <summary>
|
|
/// 打印抬头3
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PRTHEADXML3
|
|
{
|
|
get { return _prtheadxml3; }
|
|
set { _prtheadxml3 = value; }
|
|
}
|
|
|
|
private string _prtheadxml4 = "";
|
|
/// <summary>
|
|
/// 打印抬头4
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PRTHEADXML4
|
|
{
|
|
get { return _prtheadxml4; }
|
|
set { _prtheadxml4 = value; }
|
|
}
|
|
|
|
private string _prtheadxml5 = "";
|
|
/// <summary>
|
|
/// 打印抬头5
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PRTHEADXML5
|
|
{
|
|
get { return _prtheadxml5; }
|
|
set { _prtheadxml5 = value; }
|
|
}
|
|
|
|
private string _bankshead = "";
|
|
/// <summary>
|
|
/// BANKSHEAD
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BANKSHEAD
|
|
{
|
|
get { return _bankshead; }
|
|
set { _bankshead = value; }
|
|
}
|
|
|
|
private string _gpsuser = "";
|
|
/// <summary>
|
|
/// GPSUser
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string GPSUser
|
|
{
|
|
get { return _gpsuser; }
|
|
set { _gpsuser = value; }
|
|
}
|
|
|
|
private string _gpspassword = "";
|
|
/// <summary>
|
|
/// GPSPassWord
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string GPSPassWord
|
|
{
|
|
get { return _gpspassword; }
|
|
set { _gpspassword = value; }
|
|
}
|
|
|
|
private string _ORGANIZATIONCODE = "";
|
|
/// <summary>
|
|
/// 组织机构代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ORGANIZATIONCODE
|
|
{
|
|
get { return _ORGANIZATIONCODE; }
|
|
set { _ORGANIZATIONCODE = value; }
|
|
}
|
|
|
|
private string _MODIFIEDUSERNAME = "";
|
|
/// <summary>
|
|
/// 更新人
|
|
/// </summary>
|
|
public string MODIFIEDUSERNAME
|
|
{
|
|
get { return _MODIFIEDUSERNAME; }
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
}
|
|
|
|
private string _LOGOURL;
|
|
/// <summary>
|
|
/// 徽标Url
|
|
/// </summary>
|
|
public string LOGOURL
|
|
{
|
|
get { return _LOGOURL; }
|
|
set { _LOGOURL = value; }
|
|
}
|
|
|
|
private string _dbname;
|
|
/// <summary>
|
|
/// 数据库
|
|
/// </summary>
|
|
public string DBNAME
|
|
{
|
|
get { return _dbname; }
|
|
set { _dbname = value; }
|
|
}
|
|
|
|
private string _localcurr = "RMB";
|
|
/// <summary>
|
|
/// 本地货币
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string LOCALCURR
|
|
{
|
|
get { return _localcurr; }
|
|
set { _localcurr = value; }
|
|
}
|
|
private string _WORKFLOWMSG = "0";
|
|
/// <summary>
|
|
/// 是否启用消息提示
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string WORKFLOWMSG
|
|
{
|
|
get { return _WORKFLOWMSG; }
|
|
set { _WORKFLOWMSG = value; }
|
|
}
|
|
|
|
private string _DISPATCHURL = "";
|
|
/// <summary>
|
|
/// 接口地址
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DISPATCHURL
|
|
{
|
|
get { return _DISPATCHURL; }
|
|
set { _DISPATCHURL = value; }
|
|
}
|
|
private string _APPCODE = "";
|
|
/// <summary>
|
|
/// 接口用户名
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string APPCODE
|
|
{
|
|
get { return _APPCODE; }
|
|
set { _APPCODE = value; }
|
|
}
|
|
private string _APPKEY = "";
|
|
/// <summary>
|
|
/// 接口秘钥
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string APPKEY
|
|
{
|
|
get { return _APPKEY; }
|
|
set { _APPKEY = value; }
|
|
}
|
|
|
|
public string CLOSEETDDAY { get; set; }
|
|
|
|
public string CodeAndName
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
#endregion
|
|
|
|
public MsCompanysEntity()
|
|
{
|
|
TableName = "company";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
}
|