using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace MyPortal.Database.Models.Entity;

[Table("ChargeBillingPeriods")]
public class ChargeBillingPeriod : BaseTypes.Entity
{
    [Column(Order = 2)] public string Name { get; set; }

    [Column(Order = 3, TypeName = "date")] public DateTime StartDate { get; set; }

    [Column(Order = 4, TypeName = "date")] public DateTime EndDate { get; set; }

    public virtual ICollection<Bill> Bills { get; set; }
    public virtual ICollection<StudentCharge> StudentCharges { get; set; }
}