36 lines
865 B
C#
36 lines
865 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace JobMarket.Models.JobOfferViewModels
|
|
{
|
|
public class DetailsJobOfferViewModel
|
|
{
|
|
public string JobOfferId { get; set; }
|
|
|
|
public ApplicationUser Author { get; set; }
|
|
|
|
[Display(Name = "Category")]
|
|
public JobCategory JobCategory { get; set; }
|
|
|
|
[Display(Name = "Type")]
|
|
public JobType JobType { get; set; }
|
|
|
|
public DateTime Submitted { get; set; }
|
|
|
|
[Display(Name = "Last edit")]
|
|
public DateTime LastEdit { get; set; }
|
|
|
|
[Display(Name = "Postal code")]
|
|
public string PostalCode { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public decimal Wage { get; set; }
|
|
|
|
public int Visits { get; set; }
|
|
|
|
public bool CanEdit { get; set; }
|
|
}
|
|
}
|