package com.patzn.lims.staff.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.patzn.lims.core.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author patzn
 * @since 2018-07-02
 */
@Data
@Accessors(chain = true)
@ApiModel
public class LmsStaffStatusRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "涉及人id")
    private Long staffId;

    @ApiModelProperty(value = "涉及人姓名")
    private String staffName;

    @ApiModelProperty(value = "涉及人工号")
    private String staffNumber;

    @ApiModelProperty(value = "修改属性名")
    private String updateProperty;

    @ApiModelProperty(value = "原值")
    private String oldValue;

    @ApiModelProperty(value = "现值")
    private String newValue;

    @ApiModelProperty(value = "修改人")
    private String updateName;

    @ApiModelProperty(value = "修改日期")
    private Date updateDate;

    @ApiModelProperty(value = "公司 ID")
    @TableField(fill = FieldFill.INSERT)
    private Long companyId;


}
