Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save forenheith/8ac22231095456edc8ae2470757758c5 to your computer and use it in GitHub Desktop.

Select an option

Save forenheith/8ac22231095456edc8ae2470757758c5 to your computer and use it in GitHub Desktop.
Employee
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="" file="Employee.cs">
//
// </copyright>
// <summary>
// The ticket.
// </summary>
//
// --------------------------------------------------------------------------------------------------------------------
namespace Room.Common.Models
{
using System;
using System.Collections.Generic;
using Room.Infrastructure.Models;
/// <summary>
/// The ticket.
/// </summary>
public class Employee : BaseEntity
{
/// <summary>
/// Initializes a new instance of the <see cref="Employee" /> class.
/// </summary>
public Employee()
{
this.RegTime = DateTime.Now;
}
/// <summary>
/// Gets or sets the answers.
/// </summary>
public virtual ICollection<Answer> Answers { get; set; }
/// <summary>
/// Gets or sets the del time.
/// </summary>
public DateTime? DelTime { get; set; }
/// <summary>
/// Gets or sets the department.
/// </summary>
public virtual Department Department { get; set; }
/// <summary>
/// Gets or sets the sender id.
/// </summary>
public int DeptartmentId { get; set; }
/// <summary>
/// Gets or sets the body.
/// </summary>
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the sur name.
/// </summary>
public string LastName { get; set; }
/// <summary>
/// Gets or sets the login.
/// </summary>
public string Login { get; set; }
/// <summary>
/// Gets or sets the password.
/// </summary>
public string Password { get; set; }
/// <summary>
/// Gets or sets the del time.
/// </summary>
public DateTime RegTime { get; set; }
/// <summary>
/// Gets or sets the ticket redirects.
/// </summary>
public virtual ICollection<TicketRedirect> TicketRedirects { get; set; }
/// <summary>
/// Gets or sets the ticket removes.
/// </summary>
public virtual ICollection<TicketRemove> TicketRemoves { get; set; }
/// <summary>
/// Gets or sets the tickets.
/// </summary>
public virtual ICollection<Ticket> Tickets { get; set; }
/// <summary>
/// Gets or sets the user role id.
/// </summary>
public int UserRoleId { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment