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.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using NPoco;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Entity
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
[TableName("pos_version")]
|
|
|
|
|
[PrimaryKey(new string[] { "id" },AutoIncrement = false)]
|
|
|
|
|
public class ApplicationVersion:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
public ApplicationVersion()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 程序版本
|
|
|
|
|
*/
|
|
|
|
|
[JsonProperty(PropertyName = "appVersion")]
|
|
|
|
|
[Column("appVersion")]
|
|
|
|
|
public string AppVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 数据库版本
|
|
|
|
|
*/
|
|
|
|
|
[JsonProperty(PropertyName = "dbVersion")]
|
|
|
|
|
[Column("dbVersion")]
|
|
|
|
|
public string DbVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
// /**
|
|
|
|
|
//* 默认参数版本
|
|
|
|
|
//*/
|
|
|
|
|
// [JsonProperty(PropertyName = "paramVersion")]
|
|
|
|
|
// [Column("paramVersion")]
|
|
|
|
|
// public string ParamVersion { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|