|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.CityDistance
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CityDistancemb : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
private string _id = string.Empty;
|
|
|
|
|
private string _NAME = string.Empty;
|
|
|
|
|
private string _DISTANCE = string.Empty;
|
|
|
|
|
private string _PAY_DISTANCE = string.Empty;
|
|
|
|
|
private string _IN_PROVINCE = string.Empty;
|
|
|
|
|
private string _IN_PROVINCE_REF = string.Empty;
|
|
|
|
|
private string _WEIGHTPRICE = string.Empty;
|
|
|
|
|
private string _DISTANCEPRICE = string.Empty;
|
|
|
|
|
private string _AREANAME = string.Empty;
|
|
|
|
|
private string _PROVINCENAME = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PROVINCENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _PROVINCENAME; }
|
|
|
|
|
set { _PROVINCENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
|
|
|
|
|
public string id
|
|
|
|
|
{
|
|
|
|
|
get { return _id; }
|
|
|
|
|
set { _id = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string NAME
|
|
|
|
|
{
|
|
|
|
|
get { return _NAME; }
|
|
|
|
|
set { _NAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DISTANCE
|
|
|
|
|
{
|
|
|
|
|
get { return _DISTANCE; }
|
|
|
|
|
set { _DISTANCE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAY_DISTANCE
|
|
|
|
|
{
|
|
|
|
|
get { return _PAY_DISTANCE; }
|
|
|
|
|
set { _PAY_DISTANCE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string IN_PROVINCE
|
|
|
|
|
{
|
|
|
|
|
get { return _IN_PROVINCE; }
|
|
|
|
|
set { _IN_PROVINCE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string IN_PROVINCE_REF
|
|
|
|
|
{
|
|
|
|
|
get { return _IN_PROVINCE_REF; }
|
|
|
|
|
set { _IN_PROVINCE_REF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string WEIGHTPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _WEIGHTPRICE; }
|
|
|
|
|
set { _WEIGHTPRICE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DISTANCEPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _DISTANCEPRICE; }
|
|
|
|
|
set { _DISTANCEPRICE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string AREANAME
|
|
|
|
|
{
|
|
|
|
|
get { return _AREANAME; }
|
|
|
|
|
set { _AREANAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public CityDistancemb()
|
|
|
|
|
{
|
|
|
|
|
TableName = "City_Distance";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "id";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class PC_LTJY_Distancemb : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
private string _id = string.Empty;
|
|
|
|
|
private string _NAME = string.Empty;
|
|
|
|
|
private string _CUSTOMERNAME = string.Empty;
|
|
|
|
|
private string _PRICETYPE = string.Empty;
|
|
|
|
|
private string _DISTANCE = string.Empty;
|
|
|
|
|
private string _PRICE = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
|
|
|
|
|
public string id
|
|
|
|
|
{
|
|
|
|
|
get { return _id; }
|
|
|
|
|
set { _id = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string NAME
|
|
|
|
|
{
|
|
|
|
|
get { return _NAME; }
|
|
|
|
|
set { _NAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMERNAME; }
|
|
|
|
|
set { _CUSTOMERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PRICETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _PRICETYPE; }
|
|
|
|
|
set { _PRICETYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DISTANCE
|
|
|
|
|
{
|
|
|
|
|
get { return _DISTANCE; }
|
|
|
|
|
set { _DISTANCE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _PRICE; }
|
|
|
|
|
set { _PRICE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public PC_LTJY_Distancemb()
|
|
|
|
|
{
|
|
|
|
|
TableName = "PC_LTJY_Distance";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "id";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|