package com.example.myapplication.domain;

public class Chapter {
    private long id;
    private String name;
    private int orderIndex;
    private int courseId;
    private String keywords;
    private String aliases;

    public Chapter() {}

    public Chapter(long id, String name, int orderIndex) {
        this.id = id;
        this.name = name;
        this.orderIndex = orderIndex;
    }

    public long getId() { return id; }
    public void setId(long id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public int getOrderIndex() { return orderIndex; }
    public void setOrderIndex(int orderIndex) { this.orderIndex = orderIndex; }
    public int getCourseId() { return courseId; }
    public void setCourseId(int courseId) { this.courseId = courseId; }
    public String getKeywords() { return keywords; }
    public void setKeywords(String keywords) { this.keywords = keywords; }
    public String getAliases() { return aliases; }
    public void setAliases(String aliases) { this.aliases = aliases; }
}