Add project files.
This commit is contained in:
18
ConstructorApp.EntityLayer/Entities/Service.cs
Normal file
18
ConstructorApp.EntityLayer/Entities/Service.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ConstructorApp.EntityLayer.Entities
|
||||
{
|
||||
public class Service
|
||||
{
|
||||
[Key]
|
||||
public int ServiceID { get; set; }
|
||||
[StringLength(100)]
|
||||
[Required]
|
||||
public string? Title { get; set; } // Architecture
|
||||
[StringLength(100)]
|
||||
[Required]
|
||||
public string? SubTitle { get; set; } // We provide high-quality architecture services.
|
||||
[StringLength(100)]
|
||||
public bool IsActive { get; set; } //0=Pasif 1=Aktif
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user