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.
59 lines
1.4 KiB
C#
59 lines
1.4 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_feeitem")]
|
|
[PrimaryKey(new string[] { "Id" }, AutoIncrement = false)]
|
|
public class Feeitem : BaseEntity
|
|
{
|
|
|
|
public Feeitem()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 租户编码
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }// 租户ID
|
|
|
|
/// <summary>
|
|
/// 项目名称
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "name")]
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 类型(0-收入;1-支出;)
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "type")]
|
|
[Column("type")]
|
|
public int Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否启用(0-不启用;1-启用;)
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "enabled")]
|
|
[Column("enabled")]
|
|
public int Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// 显示序号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "orderNo")]
|
|
[Column("orderNo")]
|
|
public int OrderNo { get; set; }
|
|
|
|
}
|
|
}
|