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

import lombok.Getter;

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

@Getter
public class UpdateContractRequest implements Serializable {
    private final String id;
    private final String name;
    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 UpdateContractRequest(String id, String name,
                                 String aName, String bName, Date beginDate, Date endDate,
                                 boolean dateLimitless, String attachment, String note) {
        this.id = id;
        this.name = name;
        this.aName = aName;
        this.bName = bName;
        this.beginDate = beginDate;
        this.endDate = endDate;
        this.dateLimitless = dateLimitless;
        this.attachment = attachment;
        this.note = note;
    }
}
