referans tablosu üretildi. Türü ve Kodu için kontrol sağlandı.
This commit is contained in:
35
Models/Referans.cs
Normal file
35
Models/Referans.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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; }
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user