package com.ruoyi.pay.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工信息业务对象 pay_employee_info
 *
 * @author ruoyi
 * @date 2025-05-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PayEmployeeInfoBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 租户id
     */
    @NotNull(message = "租户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tenantId;

    /**
     * 登录用户id
     */
   // @NotNull(message = "登录用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 员工所属部门
     */
    @NotNull(message = "员工所属部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 部门名称
     */
    @NotBlank(message = "部门名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptName;

    /**
     * 员工姓名
     */
    @NotBlank(message = "员工姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 性别（0：男 1：女)
     */
   // @NotBlank(message = "性别（0：男 1：女)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sex;

    /**
     * 年龄
     */
   // @NotNull(message = "年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long age;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 身份证号
     */
   // @NotBlank(message = "身份证号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String idcard;

    /**
     * 银行卡号
     */
   // @NotBlank(message = "银行卡号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bankCardNumber;

    /**
     * 开户行
     */
   // @NotBlank(message = "开户行不能为空", groups = { AddGroup.class, EditGroup.class })
    private String openingBank;

    /**
     * 基本工资
     */
    @NotNull(message = "基本工资不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal basicSalary;

    /**
     * 日薪
     */
   // @NotNull(message = "日薪不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal daySalary;

    /**
     * 时薪
     */
   // @NotNull(message = "时薪不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hourSalary;

    /**
     * 休息类型(0 :周休 1:非周休 2：天休 3：小时 4：包月 5：周二天)
     */
  //  @NotBlank(message = "休息类型(0 :周休 1:非周休 2：天休 3：小时 4：包月 5：周二天)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String restType;

    /**
     * 每日应出勤小时数
     */
    @NotNull(message = "每日应出勤小时数不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hoursPerDay;

    /**
     * 工资计算类型(
0:日薪(日工+包活)
1:月薪(日工+包活)
2:喷涂按小时数(16/17、17/18)
3.外贸按小时数(17/21)
4.包月工资)

     */
    @NotBlank(message = "工资计算类型", groups = { AddGroup.class, EditGroup.class })
    private String payCalcType;

    /**
     * 学历
     */
  //  @NotBlank(message = "学历不能为空", groups = { AddGroup.class, EditGroup.class })
    private String education;

    /**
     * 家庭住址
     */
   // @NotBlank(message = "家庭住址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 紧急联系人
     */
  //  @NotBlank(message = "紧急联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contact;

    /**
     * 紧急联系人电话
     */
  //  @NotBlank(message = "紧急联系人电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactPhone;

    /**
     * 质检(1-是 0-否)
     */
   // @NotNull(message = "质检(1-是 0-否)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer zhijian;

    /**
     * 业务员(1-是 0-否)
     */
  //  @NotNull(message = "业务员(1-是 0-否)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer yewu;

    /**
     * 合同补助开始时间
     */
 //   @NotNull(message = "合同补助开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date htstime;

    /**
     * 合同补助结束时间
     */
  //  @NotNull(message = "合同补助结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date htetime;

    /**
     * 删除标志（1:删除 0:未删除）
     */
  //  @NotNull(message = "删除标志（1:删除 0:未删除）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer deleted;

    /**
     * 备注
     */
  //  @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
