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.

541 lines
13 KiB
C#

10 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.CommMng.Models
{
[JsonObject]
public class CountryModel
{
private string _id = string.Empty;
private string _countryid = string.Empty;
private string _country = string.Empty;
private string _country_idandname = string.Empty;
// [ModelDB]
public string countryid
{
get { return _countryid; }
set { _countryid = value; }
}
[ModelDB]
public string country
{
get { return _country; }
set { _country = value; }
}
[ModelDB]
public string country_idandname
{
get { return _country_idandname; }
set { _country_idandname = value; }
}
}
public class CangDanCountry
{
public int c_code_id { get; set; }
public string CountryName { get; set; }
public string CountryNameEn { get; set; }
public string CountryCode { get; set; }
public string CompanyCodeType { get; set; }
public string CodeAndName { get; set; }
}
[JsonObject]
public class ReceiptnameModel
{
private string _name = string.Empty;
[ModelDB]
public string name
{
get { return _name; }
set { _name = value; }
}
}
[JsonObject]
public class CargoModel
{
private string _id = string.Empty;
private string _code = string.Empty;
private string _name = string.Empty;
private string _codeandname = string.Empty;
private string _tariff = string.Empty;
private string _tax = string.Empty;
private string _tax_zz = string.Empty;
private string _tax_cl = string.Empty;
public string id
{
get { return _id; }
set { _id = value; }
}
public string code
{
get { return _code; }
set { _code = value; }
}
public string name
{
get { return _name; }
set { _name = value; }
}
public string codeandname
{
get { return _codeandname; }
set { _codeandname = value; }
}
public string tariff
{
get { return _tariff; }
set { _tariff = value; }
}
public string tax
{
get { return _tax; }
set { _tax = value; }
}
public string tax_zz
{
get { return _tax_zz; }
set { _tax_zz = value; }
}
public string tax_cl
{
get { return _tax_cl; }
set { _tax_cl = value; }
}
}
[JsonObject]
public class CargociqModel
{
private string _id = string.Empty;
public string id
{
get { return _id; }
set { _id = value; }
}
private string _cargoinfoid = string.Empty;
public string cargoinfoid
{
get { return _cargoinfoid; }
set { _cargoinfoid = value; }
}
private string _ciqcode = string.Empty;
public string ciqcode
{
get { return _ciqcode; }
set { _ciqcode = value; }
}
private string _ciqname = string.Empty;
public string ciqname
{
get { return _ciqname; }
set { _ciqname = value; }
}
private string _codeandname = string.Empty;
public string codeandname
{
get { return _codeandname; }
set { _codeandname = value; }
}
}
[JsonObject]
public class companyModel
{
private string _gid = string.Empty;
public string gid
{
get { return _gid; }
set { _gid = value; }
}
private string _code = string.Empty;
public string code
{
get { return _code; }
set { _code = value; }
}
private string _name = string.Empty;
public string name
{
get { return _name; }
set { _name = value; }
}
private string _isdisable = string.Empty;
public string isdisable
{
get { return _isdisable; }
set { _isdisable = value; }
}
}
[JsonObject]
public class AppModel
{
private string _id = string.Empty;
[ModelDB]
public string id
{
get { return _id; }
set { _id = value; }
}
private string _code = string.Empty;
[ModelDB]
public string code
{
get { return _code; }
set { _code = value; }
}
private string _name = string.Empty;
[ModelDB]
public string name
{
get { return _name; }
set { _name = value; }
}
private string _codeandname = string.Empty;
[ModelDB]
public string codeandname
{
get { return _codeandname; }
set { _codeandname = value; }
}
}
[JsonObject]
public class EnumModel
{
private string _id = string.Empty;
private string _name = string.Empty;
private string _idandname = string.Empty;
[ModelDB]
public string id
{
get { return _id; }
set { _id = value; }
}
[ModelDB]
public string name
{
get { return _name; }
set { _name = value; }
}
[ModelDB]
public string idandname
{
get { return _idandname; }
set { _idandname = value; }
}
}
[JsonObject]
public class currModel
{
private string _gid = string.Empty;
private string _codename = string.Empty;
private string _defaultrate = string.Empty;
[ModelDB]
public string gid
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string codename
{
get { return _codename; }
set { _codename = value; }
}
[ModelDB]
public string defaultrate
{
get { return _defaultrate; }
set { _defaultrate = value; }
}
}
[JsonObject]
public class TraderModel
{
private string _gid = string.Empty;
private string _name = string.Empty;
private string _code = string.Empty;
private string _codename = string.Empty;
private string _description = string.Empty;
private string _EnFullName = string.Empty;
private string _codeEnName = string.Empty;
private string _ADDR = string.Empty;
private string _ISSTOP = string.Empty;
private string _RCVMode = string.Empty;
//[ModelDB]
public string gid
{
get { return _gid; }
set { _gid = value; }
}
//[ModelDB]
public string name
{
get { return _name; }
set { _name = value; }
}
public string code
{
get { return _code; }
set { _code = value; }
}
// [ModelDB]
public string codename
{
get { return _codename; }
set { _codename = value; }
}
//[ModelDB]
public string description
{
get { return _description; }
set { _description = value; }
}
//[ModelDB]
public string EnFullName
{
get { return _EnFullName; }
set { _EnFullName = value; }
}
public string codeEnName
{
get { return _codeEnName; }
set { _codeEnName = value; }
}
public string ADDR
{
get { return _ADDR; }
set { _ADDR = value; }
}
public string ISSTOP
{
get { return _ISSTOP; }
set { _ISSTOP = value; }
}
public string RCVMode
{
get { return _RCVMode; }
set { _RCVMode = value; }
}
}
[JsonObject]
public class BankModel
{
private string _bankname = string.Empty;
private string _gid = string.Empty;
private string _FINANCESOFTCODE = string.Empty;
private string _codename = string.Empty;
public string gid
{
get { return _gid; }
set { _gid = value; }
}
public string bankname
{
get { return _bankname; }
set { _bankname = value; }
}
public string FINANCESOFTCODE
{
get { return _FINANCESOFTCODE; }
set { _FINANCESOFTCODE = value; }
}
public string codename
{
get { return _codename; }
set { _codename = value; }
}
}
[JsonObject]
public class AccitemsModel
{
private string _GID = string.Empty;
private string _ACCID = string.Empty;
private string _ACCNAME = string.Empty;
private string _ACCIDNAME = string.Empty;
private string _DC = string.Empty;
private string _REMARKS = string.Empty;
private string _DETAILED = string.Empty;
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string ACCID
{
get { return _ACCID; }
set { _ACCID = value; }
}
public string ACCNAME
{
get { return _ACCNAME; }
set { _ACCNAME = value; }
}
public string ACCIDNAME
{
get { return _ACCIDNAME; }
set { _ACCIDNAME = value; }
}
public string DC
{
get { return _DC; }
set { _DC = value; }
}
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
public string DETAILED
{
get { return _DETAILED; }
set { _DETAILED = value; }
}
private bool _isfcy = false;
/// <summary>
/// 是否核算外币
/// </summary>
public bool ISFCY
{
get { return _isfcy; }
set { _isfcy = value; }
}
private bool _isdeptacc = false;
/// <summary>
/// 是否核算部门
/// </summary>
public bool ISDEPTACC
{
get { return _isdeptacc; }
set { _isdeptacc = value; }
}
private bool _isemplacc = false;
/// <summary>
/// 是否核算人员
/// </summary>
public bool ISEMPLACC
{
get { return _isemplacc; }
set { _isemplacc = value; }
}
private bool _iscorpacc = false;
/// <summary>
/// 是否算客户门
/// </summary>
public bool ISCORPACC
{
get { return _iscorpacc; }
set { _iscorpacc = value; }
}
private bool _isitemacc = false;
/// <summary>
/// 是否核算项目
/// </summary>
public bool ISITEMACC
{
get { return _isitemacc; }
set { _isitemacc = value; }
}
}
#region 用户权限
[JsonObject]
public class AuthorityRangemb : ModelObjectBillHead
{
#region private Fields
public string GID { get; set; }
public string VISIBLERANGE { get; set; }
public string OPERATERANGE { get; set; }
#endregion
}
#endregion
#region 费用所属分公司、部门、个人
[JsonObject]
public class CHFEEOP : ModelObjectBillHead
{
#region private Fields
public string GID { get; set; }
public string COMPANYID { get; set; }
public string DEPTID { get; set; }
public string ENTEROPERATOR { get; set; }
#endregion
}
[JsonObject]
public class CHFEECANEDIT : ModelObjectBillHead
{
#region private Fields
public string canedit { get; set; }
#endregion
}
#endregion
#region 支票号
[JsonObject]
public class CHEQUENUMmb : ModelObjectBillHead
{
#region private Fields
public string CHEQUENUM { get; set; }
#endregion
}
#endregion
#region 通用model
[JsonObject]
public class GeneralModel
{
private string _GID = string.Empty;
private string _GVALUE = string.Empty;
private string _GVALUE2 = string.Empty;
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string GVALUE
{
get { return _GVALUE; }
set { _GVALUE = value; }
}
public string GVALUE2
{
get { return _GVALUE2; }
set { _GVALUE2 = value; }
}
}
#endregion
}