com.flowcentraltech.flowcentral.organization.entities.MappedDepartment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flowcentral-organization Show documentation
Show all versions of flowcentral-organization Show documentation
Flowcentral Organization Module
The newest version!
/*
* Copyright 2021-2024 FlowCentral Technologies Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.flowcentraltech.flowcentral.organization.entities;
import com.flowcentraltech.flowcentral.common.entities.BaseEntity;
import com.tcdng.unify.core.annotation.Column;
import com.tcdng.unify.core.annotation.Mapped;
import com.tcdng.unify.core.annotation.TableName;
import com.tcdng.unify.core.annotation.TenantId;
/**
* Mapped department entity.
*
* @author FlowCentral Technologies Limited
* @since 1.0
*/
@Mapped
@TableName("FC_MAPPEDDEPARTMENT")
public class MappedDepartment extends BaseEntity {
@TenantId
@Column
private Long tenantId;
@Column(length = 16)
private String code;
@Column(length = 64)
private String description;
@Override
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
}