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.
74 lines
1.9 KiB
C#
74 lines
1.9 KiB
C#
using Newtonsoft.Json;
|
|
using NPoco;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace POSV.Entity
|
|
{
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
[TableName("pos_upload_cost_revenue_json")]
|
|
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
|
|
public class UploadStoreCostRevenueObject : BaseEntity
|
|
{
|
|
public UploadStoreCostRevenueObject()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 租户ID
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品List集合
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "json")]
|
|
[SerializedColumn("json")]
|
|
public StoreCostRevenue StoreCostRevenue
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 订单同步状态 0-新增,1-已同步,2-问题单
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "syncStatus")]
|
|
[Column("syncStatus")]
|
|
public int SyncStatus { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 上传错误次数,错误次数越多,优先级越低
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "uploadErrors")]
|
|
[Column("uploadErrors")]
|
|
public int UploadErrors { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扩展字段1
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "ext1")]
|
|
[Column("ext1")]
|
|
public string Ext1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扩展字段2
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "ext2")]
|
|
[Column("ext2")]
|
|
public string Ext2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扩展字段3
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "ext3")]
|
|
[Column("ext3")]
|
|
public string Ext3 { get; set; }
|
|
}
|
|
}
|