irc-netcore-api/IRaCIS.Core.Domain/Dcotor/Vacation.cs

19 lines
580 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Table("Vacation")]
public class Vacation : Entity, IAuditUpdate, IAuditAdd
{
public Guid DoctorId { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public int Status { get; set; } = 1;
public Guid UpdateUserId { get; set; }
public DateTime UpdateTime { get; set; }
public Guid CreateUserId { get; set; }
public DateTime CreateTime { get; set; }
}
}