|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Dispatch.Models
|
|
|
|
|
{
|
|
|
|
|
public class DispatchViewModelBase
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string CTNS { get; set; }
|
|
|
|
|
|
|
|
|
|
private string kgs;
|
|
|
|
|
public string KGS
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return kgs == null ? string.Empty : kgs;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
kgs = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public decimal TRUCKFEE { get; set; }
|
|
|
|
|
public string YARD { get; set; }
|
|
|
|
|
public string FACTRYNAME { get; set; }
|
|
|
|
|
public string FACTRYADDR { get; set; }
|
|
|
|
|
public string FACTRYTIME { get; set; }
|
|
|
|
|
public string LE_ID { get; set; }
|
|
|
|
|
public DateTime? CLOSINGDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public string HEAD_FMTEL { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CLOSINGDATE_STR
|
|
|
|
|
{
|
|
|
|
|
private set { }
|
|
|
|
|
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return CLOSINGDATE.HasValue ? CLOSINGDATE.Value.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//派车列表
|
|
|
|
|
public class DispatchListViewModel : DispatchViewModelBase
|
|
|
|
|
{
|
|
|
|
|
public decimal? FeeSum { get; set; }
|
|
|
|
|
public int NoDui { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//派车详情
|
|
|
|
|
public class DispatchDetailViewModel : DispatchViewModelBase
|
|
|
|
|
{
|
|
|
|
|
public string TRUCKSTATUS { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//抢单详情
|
|
|
|
|
public class DispatchGrabViewModel : DispatchViewModelBase
|
|
|
|
|
{
|
|
|
|
|
public string TRUCKSTATUS { get; set; }
|
|
|
|
|
public string GrabId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|