/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the yifu4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.yifu.cloud.plus.v1.yifu.archives.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 法大大合同附属信息表
 *
 * @author fxj
 * @date 2022-06-28 16:24:12
 */
@Data
@TableName("fdd_contract_attach_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "法大大合同附属信息表")
public class FddContractAttachInfo extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="主键")
    private String id;

    /**
     * 合同id
     */
    @Schema(description ="合同id")
    private String contractId;

    /**
     * 合同试用期开始时间
     */
    @Schema(description ="合同试用期开始时间")
    private LocalDate periodStart;

    /**
     * 合同试用期结束时间
     */
    @Schema(description ="合同试用期结束时间")
    private LocalDate periodEnd;

    /**
     * 合同起始时间
     */
    @Schema(description ="合同起始时间")
    private LocalDate contractStart;

    /**
     * 合同到期时间
     */
    @Schema(description ="合同到期时间")
    private LocalDate contractEnd;

    /**
     * 试用期工资 元/月
     */
    @Schema(description ="试用期工资 元/月")
    private BigDecimal periodSalaryPerMonth;

    /**
     * 工资形式 1.计时工资 2.计件工资 3.其他
     */
    @Schema(description ="工资形式 1.计时工资 2.计件工资 3.其他")
    private String salaryType;

    /**
     * 计时工资 工资标准 元/月
     */
    @Schema(description ="计时工资 工资标准 元/月")
    private BigDecimal salaryStandardPerHour;

    /**
     * 计件工资 工资标准单价/元
     */
    @Schema(description ="计件工资 工资标准单价/元")
    private BigDecimal salaryStandardPerPiece;

    /**
     * 工作地点
     */
    @Schema(description ="工作地点")
    private String workSpace;

    /**
     * 岗位
     */
    @Schema(description ="岗位")
    private String post;

    /**
     * 备注
     */
    @Schema(description ="备注")
    private String remark;

    /**
     * 是否删除 0未删除/1删除
     */
    @Schema(description ="是否删除 0未删除/1删除")
    private String deleteFlag;

    /**
     * 附件是否已转移到合同里（0：未转移；1已转移）
     */
    @Schema(description ="附件是否已转移到合同里（0：未转移；1已转移）")
    private Integer isMove;

    /**
     * 法大大模板id
     */
    @Schema(description ="法大大模板id")
    private String fddTemplateId;

    /**
     * 员工姓名
     */
    @Schema(description ="员工姓名")
    private String empName;

    /**
     * 身份证号码
     */
    @Schema(description ="身份证号码")
    private String empIdcard;

    /**
     * 手机号码
     */
    @Schema(description ="手机号码")
    private String empPhone;

    /**
     * 结算主体编码
     */
    @Schema(description ="结算主体编码")
    private String departNo;

    /**
     * 创建者
     */
    @Schema(description ="创建者")
    private String createBy;

    /**
     * 更新人
     */
    @Schema(description ="更新人")
    private String updateBy;

    /**
     * 创建时间
     */
    @Schema(description ="创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Schema(description ="更新时间")
    private LocalDateTime updateTime;

    /**
     * 创建人姓名
     */
    @Schema(description ="创建人姓名")
    private String createName;


}
