39 lines
939 B
C#
39 lines
939 B
C#
|
|
using SqlSugar;
|
|||
|
|
using System;
|
|||
|
|
|
|||
|
|
namespace DouyinApi.Model.Models
|
|||
|
|
{
|
|||
|
|
public class Advertisement : RootEntityTkey<long>
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 广告图片
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 512, IsNullable = true)]
|
|||
|
|
public string ImgUrl { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 广告标题
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 64, IsNullable = true)]
|
|||
|
|
public string Title { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 广告链接
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 256, IsNullable = true)]
|
|||
|
|
public string Url { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 2000, IsNullable = true)]
|
|||
|
|
public string Remark { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime Createdate { get; set; } = DateTime.Now;
|
|||
|
|
}
|
|||
|
|
}
|