init
This commit is contained in:
38
DouyinApi.Model/Models/Advertisement.cs
Normal file
38
DouyinApi.Model/Models/Advertisement.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user