package com.bcxin.api.interfaces.tenants.requests.contracts;

import lombok.Getter;

import java.io.Serializable;
import java.util.Date;

@Getter
public class CreateContractRequest implements Serializable {
    private final String name;
    private final String employeeId;
    private final String aName;
    private final String bName;
    private final Date beginDate;
    private final Date endDate;
    private final boolean dateLimitless;
    private final String attachment;
    private final String note;

    public CreateContractRequest(String name, String employeeId,String aName,
                                 String bName, Date beginDate, Date endDate,
                                 boolean dateLimitless, String attachment, String note) {
        this.name = name;
        this.employeeId = employeeId;
        this.aName = aName;
        this.bName = bName;
        this.beginDate = beginDate;
        this.endDate = endDate;
        this.dateLimitless = dateLimitless;
        this.attachment = attachment;
        this.note = note;
    }
}
