package org.qinan.safetyeval.client.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 人员变更记录修改命令
 *
 * @author safety-eval
 */
@Data
public class OrgPersonnelChangeModifyCmd {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "变更事项")
    private String changeItem;

    @ApiModelProperty(value = "变更时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime changeTime;

    @ApiModelProperty(value = "操作人")
    private String operatorName;

    @ApiModelProperty(value = "租户id")
    private Long tenantId;
}
