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 = "*";
///
/// GID
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _codename = "";
///
/// CODENAME
///
[ModelDB]
public string CODENAME
{
get { return _codename; }
set { _codename = value; }
}
private string _name = "";
///
/// NAME
///
[ModelDB]
public string NAME
{
get { return _name; }
set { _name = value; }
}
private string _fullname = "";
///
/// FULLNAME
///
[ModelDB]
public string FULLNAME
{
get { return _fullname; }
set { _fullname = value; }
}
private string _enname = "";
///
/// 公司英文名称
///
[ModelDB]
public string ENNAME
{
get { return _enname; }
set { _enname = value; }
}
private string _address = "";
///
/// ADDRESS
///
[ModelDB]
public string ADDRESS
{
get { return _address; }
set { _address = value; }
}
private string _enaddress = "";
///
/// 公司英文地址
///
[ModelDB]
public string ENADDRESS
{
get { return _enaddress; }
set { _enaddress = value; }
}
private string _postcode = "";
///
/// POSTCODE
///
[ModelDB]
public string POSTCODE
{
get { return _postcode; }
set { _postcode = value; }
}
private string _officephone = "";
///
/// OFFICEPHONE
///
[ModelDB]
public string OFFICEPHONE
{
get { return _officephone; }
set { _officephone = value; }
}
private string _fax = "";
///
/// FAX
///
[ModelDB]
public string FAX
{
get { return _fax; }
set { _fax = value; }
}
private string _email = "";
///
/// EMAIL
///
[ModelDB]
public string EMAIL
{
get { return _email; }
set { _email = value; }
}
private string _websiteurl = "";
///
/// WEBSITEURL
///
[ModelDB]
public string WEBSITEURL
{
get { return _websiteurl; }
set { _websiteurl = value; }
}
private string _licensecode = "";
///
/// LICENSECODE
///
[ModelDB]
public string LICENSECODE
{
get { return _licensecode; }
set { _licensecode = value; }
}
private string _taxcode = "";
///
/// TAXCODE
///
[ModelDB]
public string TAXCODE
{
get { return _taxcode; }
set { _taxcode = value; }
}
private byte[] _logo;
///
/// 徽标
///
[ModelDB]
public byte[] LOGO
{
get { return _logo; }
set { _logo = value; }
}
private string _createuser = "";
///
/// CREATEUSER
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
///
/// CREATETIME
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
///
/// 更新人gid
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
///
/// 更新时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private bool _isdeleted = false;
///
/// ISDELETED
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool ISDELETED
{
get { return _isdeleted; }
set { _isdeleted = value; }
}
private bool _isdisable = false;
///
/// ISDISABLE
///
[ModelDB(MDBType = ModelDBOprationType.All)]
public bool ISDISABLE
{
get { return _isdisable; }
set { _isdisable = value; }
}
private string _parentid = "";
///
/// PARENTID
///
[ModelDB]
public string PARENTID
{
get { return _parentid; }
set { _parentid = value; }
}
private string _billrises = "";
///
/// 发票抬头
///
[ModelDB]
public string BILLRISES
{
get { return _billrises; }
set { _billrises = value; }
}
private string _chequepayable = "";
///
/// 支票抬头
///
[ModelDB]
public string CHEQUEPAYABLE
{
get { return _chequepayable; }
set { _chequepayable = value; }
}
private string _prtheadxml1 = "";
///
/// 打印抬头1
///
[ModelDB]
public string PRTHEADXML1
{
get { return _prtheadxml1; }
set { _prtheadxml1 = value; }
}
private string _prtheadxml2 = "";
///
/// 打印抬头2
///
[ModelDB]
public string PRTHEADXML2
{
get { return _prtheadxml2; }
set { _prtheadxml2 = value; }
}
private string _prtheadxml3 = "";
///
/// 打印抬头3
///
[ModelDB]
public string PRTHEADXML3
{
get { return _prtheadxml3; }
set { _prtheadxml3 = value; }
}
private string _prtheadxml4 = "";
///
/// 打印抬头4
///
[ModelDB]
public string PRTHEADXML4
{
get { return _prtheadxml4; }
set { _prtheadxml4 = value; }
}
private string _prtheadxml5 = "";
///
/// 打印抬头5
///
[ModelDB]
public string PRTHEADXML5
{
get { return _prtheadxml5; }
set { _prtheadxml5 = value; }
}
private string _bankshead = "";
///
/// BANKSHEAD
///
[ModelDB]
public string BANKSHEAD
{
get { return _bankshead; }
set { _bankshead = value; }
}
private string _gpsuser = "";
///
/// GPSUser
///
[ModelDB]
public string GPSUser
{
get { return _gpsuser; }
set { _gpsuser = value; }
}
private string _gpspassword = "";
///
/// GPSPassWord
///
[ModelDB]
public string GPSPassWord
{
get { return _gpspassword; }
set { _gpspassword = value; }
}
private string _ORGANIZATIONCODE = "";
///
/// 组织机构代码
///
[ModelDB]
public string ORGANIZATIONCODE
{
get { return _ORGANIZATIONCODE; }
set { _ORGANIZATIONCODE = value; }
}
private string _MODIFIEDUSERNAME = "";
///
/// 更新人
///
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private string _LOGOURL;
///
/// 徽标Url
///
public string LOGOURL
{
get { return _LOGOURL; }
set { _LOGOURL = value; }
}
private string _dbname;
///
/// 数据库
///
public string DBNAME
{
get { return _dbname; }
set { _dbname = value; }
}
private string _localcurr = "RMB";
///
/// 本地货币
///
[ModelDB]
public string LOCALCURR
{
get { return _localcurr; }
set { _localcurr = value; }
}
private string _WORKFLOWMSG = "0";
///
/// 是否启用消息提示
///
[ModelDB]
public string WORKFLOWMSG
{
get { return _WORKFLOWMSG; }
set { _WORKFLOWMSG = value; }
}
#endregion
public MsCompanysEntity()
{
TableName = "company";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}