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.
80 lines
2.0 KiB
C#
80 lines
2.0 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_advert_pictures")]
|
|
[PrimaryKey(new string[] { "Id" }, AutoIncrement = false)]
|
|
public class AdvertPictures : BaseEntity
|
|
{
|
|
|
|
public AdvertPictures()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 租户编码
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }// 租户ID
|
|
|
|
/// <summary>
|
|
/// 序号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "orderNo")]
|
|
[Column("orderNo")]
|
|
public int OrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 图片名称
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "name")]
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 图片宽
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "width")]
|
|
[Column("width")]
|
|
public int Width { get; set; }
|
|
|
|
/// <summary>
|
|
/// 图片高
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "height")]
|
|
[Column("height")]
|
|
public int Height { get; set; }
|
|
|
|
/// <summary>
|
|
/// 组名
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "groupName")]
|
|
[Column("groupName")]
|
|
public string GroupName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 图片访问地址
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "storageFileName")]
|
|
[Column("storageFileName")]
|
|
public string StorageFileName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 文件服务地址
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "dfsAccessDomain")]
|
|
[Column("dfsAccessDomain")]
|
|
public string DfsAccessDomain { get; set; }
|
|
|
|
}
|
|
}
|