using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace TravelExpenses.Models
{
    public class Position
    {
        [Key][DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int PositionId { get; set; }
        [Required][StringLength(100)] public string PositionName { get; set; }
        [Required] public int OrgUnitId { get; set; } public OrgUnit OrgUnit { get; set; }
    }
}
