using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ropin.Inspection.Model.ViewModel
{
public class TispSpotViewModel : BaseViewModel
{
private string number;
private string name;
private string numberName;
public TispSpotViewModel()
{
}
public string NumberName
{
get { return this.number + " " + this.name; }
set { this.numberName = this.number + " " + this.name; }
}
public Guid C_Code { get; set; }
public string C_Number
{
get =>this.number;
set { this.number = value; }
}
public string C_Name
{
get => this.name;
set { this.name = value; }
}
public string C_Position { get; set; }
///
/// 二维码编号
///
public string C_QRCode { get; set; }
public string C_GPS { get; set; }
public string C_Remark { get; set; }
///
/// GPS误差范围
///
public int I_Offset { get; set; }
public string C_ImageUrl { get; set; }
public IEnumerable ContentList { get;set;}
public IEnumerable DevOpsContentList { get; set; }
public Guid C_CreateBy { get; set; }
public DateTime D_CreateOn { get; set; }
public Guid C_LastUpdatedBy { get; set; }
public DateTime D_LastUpdatedOn { get; set; }
//public char C_Status { get; set; } = '1';
public string C_StoreCode { get; set; }
public string C_AreaCode { get; set; }
public decimal? F_Map_X { get; set; }
public decimal? F_Map_Y { get; set; }
public string C_Status { get; set; }
public IEnumerable ProductList { get; set; }
}
public class TispSpotDevStoreViewModel
{
private string number;
private string name;
private string numberName;
public TispSpotDevStoreViewModel()
{
}
public string NumberName
{
get { return this.number + " " + this.name; }
set { this.numberName = this.number + " " + this.name; }
}
public Guid C_Code { get; set; }
public string C_Number
{
get => this.number;
set { this.number = value; }
}
public string C_Name
{
get => this.name;
set { this.name = value; }
}
public string C_Position { get; set; }
///
/// 二维码编号
///
public string C_QRCode { get; set; }
public string C_GPS { get; set; }
public string C_Remark { get; set; }
///
/// GPS误差范围
///
public int I_Offset { get; set; }
public string C_ImageUrl { get; set; }
public Guid C_CreateBy { get; set; }
public DateTime D_CreateOn { get; set; }
public Guid C_LastUpdatedBy { get; set; }
public DateTime D_LastUpdatedOn { get; set; }
//public char C_Status { get; set; } = '1';
public string C_StoreCode { get; set; }
public string C_AreaCode { get; set; }
public decimal? F_Map_X { get; set; }
public decimal? F_Map_Y { get; set; }
public string C_Status { get; set; }
public string C_DevStoreCode { get; set; }
public string C_DevStoreName { get; set; }
public string C_DevNumberCode { get; set; }
}
}