Last active
September 8, 2018 22:48
-
-
Save mehmetalierol/ebfe182c4c2b8271a9f571659ee62c4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Company.Application.Common.Data; | |
using System.ComponentModel.DataAnnotations; | |
namespace Company.Application.Data.Entities | |
{ | |
/// <summary> | |
/// Uygulamamızda desteklediğimiz dilleri tutan sınıfımız | |
/// </summary> | |
public class Language : EntityBase | |
{ | |
/// <summary> | |
/// Dil adı | |
/// </summary> | |
[Required(ErrorMessage = "Name is required")] | |
public string Name { get; set; } | |
/// <summary> | |
/// Dil kodu. Örneğin TR-tr, EN-us .. vs | |
/// </summary> | |
[Required(ErrorMessage = "Culture is required")] | |
public string Culture { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment