Skip to content

Instantly share code, notes, and snippets.

@mehmetalierol
Last active September 23, 2018 08:39
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/a9423661e6080eb3cfc8a8be38735e5c to your computer and use it in GitHub Desktop.
Save mehmetalierol/a9423661e6080eb3cfc8a8be38735e5c to your computer and use it in GitHub Desktop.
using Company.Application.Common.Enums;
using System;
namespace Company.Application.Common.Dto
{
public class DtoBase
{
/// <summary>
/// Bu sınıfı inherit alacak derived class'larımızın içereceği alanları yazıyoruz
/// Böylece tekrarlı kod yazmanın önüne geçmiş olacağız.
/// </summary>
public Guid Id { get; set; }
public DateTime? CreateDate { get; set; }
public Guid? Creator { get; set; }
public AppStatus? Status { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment