forked from ddrilling/AsbCloudServer
17 lines
481 B
C#
17 lines
481 B
C#
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|||
|
namespace AsbCloudDb.Model
|
|||
|
{
|
|||
|
[Table("t_file_categories"), Comment("Категории файлов")]
|
|||
|
public class FileCategory : IId
|
|||
|
{
|
|||
|
[Key]
|
|||
|
[Column("id")]
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
[Column("name"), Comment("Название категории")]
|
|||
|
public string Name { get; set; }
|
|||
|
}
|
|||
|
}
|