2024-09-02 09:31:34 +08:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using Bunny.Dao.Entity.Base;
|
2024-08-08 23:34:22 +08:00
|
|
|
|
|
2024-08-30 16:08:08 +08:00
|
|
|
|
namespace Bunny.Dao.Entity.System;
|
2024-08-09 00:16:40 +08:00
|
|
|
|
|
2024-08-30 16:08:08 +08:00
|
|
|
|
public class Post : BaseEntity
|
2024-08-08 23:34:22 +08:00
|
|
|
|
{
|
2024-09-02 09:31:34 +08:00
|
|
|
|
[MaxLength(600)] public string? Title { get; init; }
|
|
|
|
|
public string? Content { get; init; }
|
|
|
|
|
public Blog? Blog { get; init; }
|
2024-08-08 23:34:22 +08:00
|
|
|
|
}
|