36 lines
829 B
C#
36 lines
829 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms.VisualStyles;
|
|
|
|
namespace DugunSalonu.Models
|
|
{
|
|
public class Referans
|
|
{
|
|
[Key]
|
|
public int id { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(50)]
|
|
public required string turu { get; set; }
|
|
[Required]
|
|
[MaxLength(20)]
|
|
public required string kodu { get; set; }
|
|
[Required]
|
|
[MaxLength(50)]
|
|
public required string adi { get; set; }
|
|
[Required]
|
|
public required DateTime kts { get; set; }
|
|
[Required]
|
|
public required int kk { get; set; }
|
|
|
|
public bool aktif { get; set; }
|
|
|
|
|
|
}
|
|
}
|