package com.hotwj.platform.resourceManagement.companyLaborContract.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.resourceManagement.companyLaborContract.domain.HotCompanyLaborContract;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

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


/**
 * 公司劳动合同视图对象 hot_company_labor_contract
 *
 * @author shihongwei
 * @date 2025-12-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotCompanyLaborContract.class)
public class HotCompanyLaborContractVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long companyId;

    /**
     * 安全管理人员ID
     */
    private Long safeUserId;

    /**
     * 生效日期
     */
    @ExcelProperty(value = "生效日期")
    private Date effectiveDate;

    /**
     * 截至日期
     */
    @ExcelProperty(value = "截至日期")
    private Date expireDate;

    /**
     * 图片附件URL(多个用逗号分隔)
     */
    @ExcelProperty(value = "图片附件URL(多个用逗号分隔)")
    private String imageUrls;

    /**
     * 图片附件URL(多个用逗号分隔)Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "imageUrls")
    private String imageUrlsUrl;
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 0=未归档, 1=已归档
     */
    @ExcelProperty(value = "0=未归档, 1=已归档")
    private Long isArchived;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
