package com.bcxin.tenant.domain.readers.dtos;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import java.sql.Timestamp;

@Getter
@Setter
public class OrganizationTypeDto {

    private final long id;

    private final String name;

    private final String note;

    private final String organizationId;

    private final Timestamp createTime;

    private final String creatorId;

    private final String lastUpdateId;

    private final Timestamp lastUpdateTime;



    public OrganizationTypeDto(long id, String name, String note, String organizationId, Timestamp createTime, String creatorId, String lastUpdateId, Timestamp lastUpdateTime) {
        this.id = id;
        this.name = name;
        this.note = note;
        this.organizationId = organizationId;
        this.createTime = createTime;
        this.creatorId = creatorId;
        this.lastUpdateId = lastUpdateId;
        this.lastUpdateTime = lastUpdateTime;
    }
}
