using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace Tiger.Model
|
{
|
|
[Serializable]
|
[Description("Primary:")]
|
[SugarTable("SNData")]
|
public class SNData
|
{
|
private string _id = null;
|
|
private string _sn = null;
|
|
private string _status = null;
|
|
private string _curroper = null;
|
|
private string _fromoper = null;
|
|
private string _scanner = null;
|
|
private int _order_id = 0;
|
|
private string _vechicle_id = null;
|
|
private int _retesttimes = -1;
|
|
private string _type = null;
|
|
private DateTime _create_time = DateTime.Now;
|
|
private string _create_user = null;
|
|
private DateTime _update_time = DateTime.MinValue;
|
|
private string _update_user = null;
|
private string _customercode = null;
|
|
[SugarColumn(IsPrimaryKey = true)]
|
public string ID
|
{
|
get
|
{
|
return _id;
|
}
|
set
|
{
|
_id = value;
|
}
|
}
|
|
public string SN
|
{
|
get
|
{
|
return _sn;
|
}
|
set
|
{
|
_sn = value;
|
}
|
}
|
|
public string Status
|
{
|
get
|
{
|
return _status;
|
}
|
set
|
{
|
_status = value;
|
}
|
}
|
|
public string CurrOper
|
{
|
get
|
{
|
return _curroper;
|
}
|
set
|
{
|
_curroper = value;
|
}
|
}
|
|
public string FromOper
|
{
|
get
|
{
|
return _fromoper;
|
}
|
set
|
{
|
_fromoper = value;
|
}
|
}
|
|
public string Scanner
|
{
|
get
|
{
|
return _scanner;
|
}
|
set
|
{
|
_scanner = value;
|
}
|
}
|
|
public int Order_ID
|
{
|
get
|
{
|
return _order_id;
|
}
|
set
|
{
|
_order_id = value;
|
}
|
}
|
|
public string Type
|
{
|
get
|
{
|
return _type;
|
}
|
set
|
{
|
_type = value;
|
}
|
}
|
|
public int RetestTimes
|
{
|
get
|
{
|
return _retesttimes;
|
}
|
set
|
{
|
_retesttimes = value;
|
}
|
}
|
|
public string Vechicle_ID
|
{
|
get
|
{
|
return _vechicle_id;
|
}
|
set
|
{
|
_vechicle_id = value;
|
}
|
}
|
|
public DateTime CREATE_TIME
|
{
|
get
|
{
|
return _create_time;
|
}
|
set
|
{
|
_create_time = value;
|
}
|
}
|
|
public string CREATE_USER
|
{
|
get
|
{
|
return _create_user;
|
}
|
set
|
{
|
_create_user = value;
|
}
|
}
|
|
public DateTime UPDATE_TIME
|
{
|
get
|
{
|
return _update_time;
|
}
|
set
|
{
|
_update_time = value;
|
}
|
}
|
|
public string UPDATE_USER
|
{
|
get
|
{
|
return _update_user;
|
}
|
set
|
{
|
_update_user = value;
|
}
|
}
|
|
[SugarColumn(IsIgnore = true)]
|
public string DisplayValue { get; set; }
|
private string _ItemCode = null;
|
public string ItemCode
|
{
|
get
|
{
|
return _ItemCode;
|
}
|
set
|
{
|
_ItemCode = value;
|
}
|
}
|
public string CustomerCode
|
{
|
get
|
{
|
return _customercode;
|
}
|
set
|
{
|
_customercode = value;
|
}
|
}
|
private string _DeliveryNo = null;
|
public string DeliveryNo
|
{
|
get
|
{
|
return _DeliveryNo;
|
}
|
set
|
{
|
_DeliveryNo = value;
|
}
|
}
|
private string _CustModel = null;
|
public string CustModel
|
{
|
get
|
{
|
return _CustModel;
|
}
|
set
|
{
|
_CustModel = value;
|
}
|
}
|
}
|
|
public class SNData_Ext
|
{
|
public SNData Item { set; get; }
|
public Vechicle Vechicle { get; set; }
|
|
}
|
}
|