package com.bcxin.ars.dto;


import com.bcxin.ars.model.BaseModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 安保公司和人员关系
 * @author Ethan
 */
@Data
public class SecurityCompanyPersonDTO extends BaseModel {

	private static final long serialVersionUID = 5519637720022779284L;
	
	private Long nativeCode;

	private Long personId;

	private Long companyId;


	private Long orgId;

	private Long roleId;

	/**
	 * 入职日期
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date entryDate;

	/**
	 *离职时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date leaveDate;

}
