20 lines
339 B
C#
20 lines
339 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ClientsDatabaseImplement.Models
|
|
{
|
|
public class Client
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public string Name { get; set; }
|
|
|
|
[Required]
|
|
public string Reviews { get; set; }
|
|
[Required]
|
|
public string Status { get; set; }
|
|
|
|
public int? Amount { get; set; }
|
|
}
|
|
}
|