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.
142 lines
3.5 KiB
C#
142 lines
3.5 KiB
C#
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; }
|
|
}
|
|
|
|
public class DispatchOpStatusZcViewModel
|
|
{
|
|
|
|
public string VESSEL { get; set; }
|
|
public string VOYNO { get; set; }
|
|
public string MBLNO { get; set; }
|
|
public string CUSTSERVICE { get; set; }
|
|
public string GOODSNAME { get; set; }
|
|
|
|
public DateTime? BSDATE { get; set; }
|
|
public string BSDATE_STR
|
|
{
|
|
private set { }
|
|
|
|
get
|
|
{
|
|
return BSDATE.HasValue ? BSDATE.Value.ToString("yyyy-MM-dd") : string.Empty;
|
|
}
|
|
}
|
|
public DateTime? ETD { get; set; }
|
|
|
|
public string ETD_STR
|
|
{
|
|
private set { }
|
|
|
|
get
|
|
{
|
|
return ETD.HasValue ? ETD.Value.ToString("yyyy-MM-dd") : string.Empty;
|
|
}
|
|
}
|
|
public string CNTRTOTAL { get; set; }
|
|
public DateTime? CUSTOMDATE { get; set; }
|
|
|
|
public string CUSTOMDATE_STR
|
|
{
|
|
private set { }
|
|
|
|
get
|
|
{
|
|
return CUSTOMDATE.HasValue ? CUSTOMDATE.Value.ToString("yyyy-MM-dd") : string.Empty;
|
|
}
|
|
}
|
|
public DateTime? TIHUOTIME { get; set; }
|
|
|
|
|
|
public string TIHUOTIME_STR
|
|
{
|
|
private set { }
|
|
|
|
get
|
|
{
|
|
return TIHUOTIME.HasValue ? TIHUOTIME.Value.ToString("yyyy-MM-dd") : string.Empty;
|
|
}
|
|
}
|
|
public string STORAGENAME { get; set; }
|
|
public string WMSDATE { get; set; }
|
|
|
|
//public string WMSDATE_STR
|
|
//{
|
|
// private set { }
|
|
|
|
// get
|
|
// {
|
|
// return WMSDATE.HasValue ? WMSDATE.Value.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty;
|
|
// }
|
|
//}
|
|
|
|
|
|
}
|
|
|
|
} |