package com.ghy.worker.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ghy.common.core.domain.BaseEntity;
import com.ghy.goods.domain.DeptGoodsCategory;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

/**
 * 师傅特殊技能关系表
 *
 * @author HH 2022/6/7
 */
@Data
public class WorkerSpecialSkill extends BaseEntity {

    /**
     * 主键
     */
    private Long workerSpecialSkillId;
    /**
     * 师傅ID
     */
    private Long workerId;
    /**
     * 特殊技能ID
     */
    private Long specialSkillId;
    /**
     * 技能证书
     */
    private String credential;
    /**
     * 保险
     */
    private String insurance;
    /**
     * 保险生效日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date insuranceStart;
    /**
     * 保险截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date insuranceEnd;

    private String specialSkillName;

    private String dangerous;

    private DeptGoodsCategory firstDeptGoodsCategory;

    private DeptGoodsCategory twoDeptGoodsCategory;

    private DeptGoodsCategory threeDeptGoodsCategory;

}
