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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCodeFtp/FtpSet.cs

285 lines
7.0 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.FtpSet
{
[JsonObject]
public class CodeFtpSet : ModelObjectBillHead
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private string _CORPID ="";
private string _EDINAME ="";
private string _SERVERIP ="";
private string _FOLDERNAME ="";
private string _USERNAME ="";
private string _PASSWORD ="";
private string _SENDCODE ="";
private string _RECEIVECODE ="";
private string _SENDNAME ="";
private string _SENDATTN ="";
private string _SENDTEL ="";
private string _SENDEMAIL ="";
private string _RECEIVEOP ="";
private string _RECEIVESALE ="";
private string _RECEIVEDEPT ="";
private string _SENDCOMPANYCODE = "";
private string _SENDSUBCOMPANYCODE = "";
private string _CARRIERID = "";
private string _RECEIVEEMAIL = "";
private string _RECEIVESIEMAIL = "";
private string _SHIPPERTEL = "";
private string _CONSIGNEETEL = "";
private string _NOTIFYPARTYTEL = "";
private string _ISUSETEL = "";
private string _SERVERIP2 = "";
private string _FOLDERNAME2 = "";
private string _USERNAME2 = "";
private string _PASSWORD2 = "";
private string _ALIASSENDCODE = "";
private string _TMPFOLDERNAME = "";
private string _SFTPCERFILENAME = "";
#endregion
public CodeFtpSet()
{
TableName = "code_FtpSet";
}
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _CORPID; }
set { _CORPID = value; }
}
[ModelDB]
public string EDINAME
{
get { return _EDINAME; }
set { _EDINAME = value; }
}
[ModelDB]
public string SERVERIP
{
get { return _SERVERIP; }
set { _SERVERIP = value; }
}
[ModelDB]
public string FOLDERNAME
{
get { return _FOLDERNAME; }
set { _FOLDERNAME = value; }
}
[ModelDB]
public string USERNAME
{
get { return _USERNAME; }
set { _USERNAME = value; }
}
[ModelDB]
public string PASSWORD
{
get { return _PASSWORD; }
set { _PASSWORD = value; }
}
[ModelDB]
public string SENDCODE
{
get { return _SENDCODE; }
set { _SENDCODE = value; }
}
[ModelDB]
public string RECEIVECODE
{
get { return _RECEIVECODE; }
set { _RECEIVECODE = value; }
}
[ModelDB]
public string SENDNAME
{
get { return _SENDNAME; }
set { _SENDNAME = value; }
}
[ModelDB]
public string SENDATTN
{
get { return _SENDATTN; }
set { _SENDATTN = value; }
}
[ModelDB]
public string SENDTEL
{
get { return _SENDTEL; }
set { _SENDTEL = value; }
}
[ModelDB]
public string SENDEMAIL
{
get { return _SENDEMAIL; }
set { _SENDEMAIL = value; }
}
[ModelDB]
public string RECEIVEOP
{
get { return _RECEIVEOP; }
set { _RECEIVEOP = value; }
}
[ModelDB]
public string RECEIVESALE
{
get { return _RECEIVESALE; }
set { _RECEIVESALE = value; }
}
[ModelDB]
public string RECEIVEDEPT
{
get { return _RECEIVEDEPT; }
set { _RECEIVEDEPT = value; }
}
[ModelDB]
public string SENDCOMPANYCODE
{
get { return _SENDCOMPANYCODE; }
set { _SENDCOMPANYCODE = value; }
}
[ModelDB]
public string SENDSUBCOMPANYCODE
{
get { return _SENDSUBCOMPANYCODE; }
set { _SENDSUBCOMPANYCODE = value; }
}
[ModelDB]
public string CARRIERID
{
get { return _CARRIERID; }
set { _CARRIERID = value; }
}
[ModelDB]
public string RECEIVEEMAIL
{
get { return _RECEIVEEMAIL; }
set { _RECEIVEEMAIL = value; }
}
[ModelDB]
public string RECEIVESIEMAIL
{
get { return _RECEIVESIEMAIL; }
set { _RECEIVESIEMAIL = value; }
}
[ModelDB]
public string SHIPPERTEL
{
get { return _SHIPPERTEL; }
set { _SHIPPERTEL = value; }
}
[ModelDB]
public string CONSIGNEETEL
{
get { return _CONSIGNEETEL; }
set { _CONSIGNEETEL = value; }
}
[ModelDB]
public string NOTIFYPARTYTEL
{
get { return _NOTIFYPARTYTEL; }
set { _NOTIFYPARTYTEL = value; }
}
[ModelDB]
public string ISUSETEL
{
get { return _ISUSETEL; }
set { _ISUSETEL = value; }
}
[ModelDB]
public string SERVERIP2
{
get { return _SERVERIP2; }
set { _SERVERIP2 = value; }
}
[ModelDB]
public string FOLDERNAME2
{
get { return _FOLDERNAME2; }
set { _FOLDERNAME2 = value; }
}
[ModelDB]
public string USERNAME2
{
get { return _USERNAME2; }
set { _USERNAME2 = value; }
}
[ModelDB]
public string PASSWORD2
{
get { return _PASSWORD2; }
set { _PASSWORD2 = value; }
}
[ModelDB]
public string ALIASSENDCODE
{
get { return _ALIASSENDCODE; }
set { _ALIASSENDCODE = value; }
}
[ModelDB]
public string TMPFOLDERNAME
{
get { return _TMPFOLDERNAME; }
set { _TMPFOLDERNAME = value; }
}
[ModelDB]
public string SFTPCERFILENAME
{
get { return _SFTPCERFILENAME; }
set { _SFTPCERFILENAME = value; }
}
private bool _ISSSL = false;
[ModelDB]
public bool ISSSL
{
get { return _ISSSL; }
set { _ISSSL = value; }
}
private string _SFTPPORT ="22";
[ModelDB]
public string SFTPPORT
{
get { return _SFTPPORT; }
set { _SFTPPORT = value; }
}
#endregion
}
}