using SqlSugar;
namespace YBDevice.Entity
{
///
/// 轮播图
///
[SugarTable("YB_Banner", TableDescription = "轮播图", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_Banner
{
///
///
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public System.Int32 Id { get; set; }
///
/// 广告类型,1-平台广告,2-客户广告
///
[SugarColumn(ColumnDescription = "广告类型,1-平台广告,2-客户广告")]
public BannerPositionType PositionType { get; set; }
///
/// 封面图
///
[SugarColumn(ColumnDescription = "封面图", ColumnDataType = "varchar(100)")]
public System.String HeadImg { get; set; }
///
/// 轮播图名称
///
[SugarColumn(ColumnDescription = "轮播图名称", ColumnDataType = "nvarchar(100)")]
public System.String Name { get; set; }
///
/// 类型,1-文本,2-链接,3-跳转小程序
///
[SugarColumn(ColumnDescription = "类型,1-文本,2-链接,3-跳转小程序")]
public AdType Type { get; set; }
///
/// 生效时间
///
[SugarColumn(ColumnDescription = "生效时间")]
public System.DateTime StartTime { get; set; }
///
/// 结束时间
///
[SugarColumn(ColumnDescription = "结束时间")]
public System.DateTime EndTime { get; set; }
///
/// 状态,0-未开启,1-正常运行,2-已关闭
///
[SugarColumn(ColumnDescription = "状态,0-未开启,1-正常运行,2-已关闭")]
public AdStatus Status { get; set; }
///
/// 状态备注
///
[SugarColumn(ColumnDescription = "状态备注", ColumnDataType = "nvarchar(100)")]
public System.String StatusRemark { get; set; }
///
/// 点击数量
///
[SugarColumn(ColumnDescription = "点击数量")]
public System.Int32 ClickCount { get; set; }
///
/// 客户ID
///
[SugarColumn(ColumnDescription = "客户ID")]
public System.Int32 BusinessId { get; set; }
///
/// 小程序appid
///
[SugarColumn(ColumnDescription = "小程序appid", IsNullable = true, ColumnDataType = "varchar(50)", DefaultValue = "wx920fdb58338cc50a")]
public string AppId { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间")]
public System.DateTime Createtime { get; set; }
}
}