mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use base model for primary key.
This commit is contained in:
@@ -33,9 +33,8 @@ using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Cicm.Database.Models
|
||||
{
|
||||
public class CompanyDescription
|
||||
public class CompanyDescription : BaseModel<int>
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int CompanyId { get; set; }
|
||||
[MaxLength(262144, ErrorMessage = "Description is too long")]
|
||||
public string Text { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user