package com.inteacc.hr.entity.ls; import com.inteacc.mdg.entity.StandardTenantEntity; import com.inteacc.mdg.entity.gen.Company; import com.inteacc.mdg.entity.gen.OperatingLocation; import io.jmix.core.DeletePolicy; import io.jmix.core.entity.annotation.OnDeleteInverse; import io.jmix.core.metamodel.annotation.Composition; import io.jmix.core.metamodel.annotation.JmixEntity; import io.jmix.core.metamodel.annotation.JmixProperty; import jakarta.persistence.*; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.Date; import java.util.List; @JmixEntity @Table(name = "HR_ATTEND_LOG_MANUAL", indexes = { @Index(name = "IDX_HRATTENDLOGMANUAL_COMPANY", columnList = "COMPANY_ID"), @Index(name = "IDX_HRATTENDLOGM_OPERATINGLOC", columnList = "OPERATING_LOCATION_ID") }) @Entity(name = "hr_AttendLogManual") public class AttendLogManual extends StandardTenantEntity { @Column(name = "ATTEND_ENTRY_NO") private String attendEntryNo; @Column(name = "ENTRY_DATE") private LocalDateTime entryDate; @OnDeleteInverse(DeletePolicy.DENY) @JoinColumn(name = "COMPANY_ID") @ManyToOne(fetch = FetchType.LAZY) private Company company; @OnDeleteInverse(DeletePolicy.DENY) @JoinColumn(name = "OPERATING_LOCATION_ID") @ManyToOne(fetch = FetchType.LAZY) private OperatingLocation operatingLocation; @Column(name = "POSTED_TIME") @Temporal(TemporalType.TIMESTAMP) private Date postedTime; @Column(name = "EMPLOYEE_LIST") private String employeeList; @Column(name = "COMMENTS") private String comments; @Composition @OneToMany(mappedBy = "attendLogManual") private List attendLogManualLine; @JmixProperty @Transient private Integer checkInBufferMinute; @JmixProperty @Transient private LocalDate attenDateFrom; @JmixProperty @Transient private LocalDate attenDateTo; @JmixProperty @Transient private Boolean updateCheckInTime; @JmixProperty @Transient private Integer checkOutBufferMinute; @JmixProperty @Transient private Boolean updateCheckOutTime; public String getAttendEntryNo() { return attendEntryNo; } public void setAttendEntryNo(String attendEntryNo) { this.attendEntryNo = attendEntryNo; } public void setEntryDate(LocalDateTime entryDate) { this.entryDate = entryDate; } public LocalDateTime getEntryDate() { return entryDate; } public void setCheckOutBufferMinute(Integer checkOutBufferMinute) { this.checkOutBufferMinute = checkOutBufferMinute; } public Integer getCheckOutBufferMinute() { return checkOutBufferMinute; } public void setUpdateCheckOutTime(Boolean updateCheckOutTime) { this.updateCheckOutTime = updateCheckOutTime; } public Boolean getUpdateCheckOutTime() { return updateCheckOutTime; } public void setAttenDateFrom(LocalDate attenDateFrom) { this.attenDateFrom = attenDateFrom; } public LocalDate getAttenDateFrom() { return attenDateFrom; } public void setAttenDateTo(LocalDate attenDateTo) { this.attenDateTo = attenDateTo; } public LocalDate getAttenDateTo() { return attenDateTo; } public void setUpdateCheckInTime(Boolean updateCheckInTime) { this.updateCheckInTime = updateCheckInTime; } public Boolean getUpdateCheckInTime() { return updateCheckInTime; } public Integer getCheckInBufferMinute() { return checkInBufferMinute; } public void setCheckInBufferMinute(Integer checkInBufferMinute) { this.checkInBufferMinute = checkInBufferMinute; } public List getAttendLogManualLine() { return attendLogManualLine; } public void setAttendLogManualLine(List attendLogManualLine) { this.attendLogManualLine = attendLogManualLine; } public String getEmployeeList() { return employeeList; } public void setEmployeeList(String employeeList) { this.employeeList = employeeList; } public Date getPostedTime() { return postedTime; } public void setPostedTime(Date postedTime) { this.postedTime = postedTime; } public String getComments() { return comments; } public void setComments(String comments) { this.comments = comments; } public OperatingLocation getOperatingLocation() { return operatingLocation; } public void setOperatingLocation(OperatingLocation operatingLocation) { this.operatingLocation = operatingLocation; } public Company getCompany() { return company; } public void setCompany(Company company) { this.company = company; } } ===================================