java-single/model/src/main/java/cn/bunny/entity/system/SysPost.java

33 lines
879 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cn.bunny.entity.system;
import cn.bunny.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(description = "岗位")
@TableName("sys_post")
public class SysPost extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "岗位编码")
@TableField("post_code")
private String postCode;
@ApiModelProperty(value = "岗位名称")
@TableField("name")
private String name;
@ApiModelProperty(value = "显示顺序")
@TableField("description")
private String description;
@ApiModelProperty(value = "状态1正常 0停用")
@TableField("status")
private Integer status;
}