package com.jeeplus.test.jobPosion.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeeplus.core.domain.BaseEntity;
import com.jeeplus.core.query.Query;
import com.jeeplus.test.jobPosion.annotation.ForUpdate;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * position
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("position")
public class Position extends BaseEntity {

    /**
     * 备注信息
     */
    private String remarks;

    /**
     * 职务名称
     */
    @Query(tableColumn = "p.name")
    @ForUpdate(fieldName = "职务名称")
    private String name;

    /**
     * 描述
     */
    @ForUpdate(fieldName = "描述")
    private String description;

    /**
     * 职务类型
     */
    @ForUpdate(fieldName = "职务类型")
    private String categoryId;

    /**
     * 排序
     */
    private int sort;

    private static final long serialVersionUID = 1L;
}