25 lines
819 B
C#
25 lines
819 B
C#
|
|
// Domain/Entities/Reservation.cs
|
|||
|
|
using System;
|
|||
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|||
|
|
using Volo.Abp.MultiTenancy;
|
|||
|
|
|
|||
|
|
namespace Kurs.Platform.Entities;
|
|||
|
|
|
|||
|
|
public class Reservation : FullAuditedEntity<Guid>, IMultiTenant
|
|||
|
|
{
|
|||
|
|
public Guid? TenantId { get; set; }
|
|||
|
|
|
|||
|
|
public string Type { get; set; } // room | vehicle | equipment
|
|||
|
|
public string ResourceName { get; set; }
|
|||
|
|
|
|||
|
|
public Guid? EmployeeId { get; set; }
|
|||
|
|
public Employee Employee { get; set; }
|
|||
|
|
|
|||
|
|
public DateTime StartDate { get; set; }
|
|||
|
|
public DateTime EndDate { get; set; }
|
|||
|
|
public string Purpose { get; set; } //Amaç
|
|||
|
|
public int? Participants { get; set; } //Katılımcı Sayısı
|
|||
|
|
public string Notes { get; set; }
|
|||
|
|
public string Status { get; set; } // pending | approved | rejected | completed
|
|||
|
|
}
|