package com.magistr.app.dto;

public class CreateGroupRequest {

    private String name;
    private Long groupSize;
    private Long educationFormId;
    private Long departmentId;
    private Integer yearStartStudy;
    private Long specialtyId;
    private Long specialtyProfileId;
    private Long specialityCode;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getGroupSize() {
        return groupSize;
    }

    public void setGroupSize(Long groupSize) {
        this.groupSize = groupSize;
    }

    public Long getEducationFormId() {
        return educationFormId;
    }

    public void setEducationFormId(Long educationFormId) {
        this.educationFormId = educationFormId;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getYearStartStudy() {
        return yearStartStudy;
    }

    public void setYearStartStudy(Integer yearStartStudy) {
        this.yearStartStudy = yearStartStudy;
    }

    public Long getSpecialityCode() {
        return specialityCode;
    }

    public void setSpecialityCode(Long specialityCode) {
        this.specialityCode = specialityCode;
    }

    public Long getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(Long specialtyId) {
        this.specialtyId = specialtyId;
    }

    public Long getSpecialtyProfileId() {
        return specialtyProfileId;
    }

    public void setSpecialtyProfileId(Long specialtyProfileId) {
        this.specialtyProfileId = specialtyProfileId;
    }

    public Long getEffectiveSpecialtyId() {
        return specialtyId != null ? specialtyId : specialityCode;
    }
}
