65 lines
1.5 KiB
C#
65 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.Advertisement.Banners
|
|
{
|
|
/// <summary>
|
|
/// 轮播图,数据实体对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-10-09
|
|
/// </summary>
|
|
[SugarTable("tb_banner")]
|
|
public class Banner : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "banner_id")]
|
|
public int BannerId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "banner_guid")]
|
|
public long BannerGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :位置
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "banner_position")]
|
|
public int BannerPosition { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :图片
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "banner_img")]
|
|
public string BannerImg { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :排序
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "banner_sort")]
|
|
public int BannerSort { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |