Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mehmetalierol
Last active September 8, 2018 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mehmetalierol/ebfe182c4c2b8271a9f571659ee62c4f to your computer and use it in GitHub Desktop.
Save mehmetalierol/ebfe182c4c2b8271a9f571659ee62c4f to your computer and use it in GitHub Desktop.
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