package com.tievd.jyz.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 算法类型表
|
* </p>
|
*
|
* @author
|
* @since 2023-02-24
|
*/
|
@Data
|
@Accessors(chain = true)
|
@TableName("t_sys_algorithm_item")
|
@Schema(name = "SysAlgorithmItem", description = "算法类型表")
|
public class SysAlgorithmItem extends Model<SysAlgorithmItem> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId("id")
|
private Integer id;
|
|
@Schema(description = "算法类型代码")
|
@TableField("algorithm_code")
|
private String algorithmCode;
|
|
@Schema(description = "算法名称")
|
@TableField("algorithm_name")
|
private String algorithmName;
|
|
@Schema(description = "算法描述")
|
@TableField("algorithm_desc")
|
private String algorithmDesc;
|
|
@Schema(description = "算法类型")
|
@TableField("algorithm_type")
|
private Integer algorithmType;
|
|
@Schema(description = "所属阶段 1卸前 2卸中 3卸后")
|
@TableField("phrase")
|
private Byte phrase;
|
|
@Schema(description = "所属区域 1卸油区 2加油区 3便利店")
|
@TableField("region")
|
private Byte region;
|
|
@Schema(description = "是否为阶段标志 1是 0否")
|
@TableField("phrase_symbol")
|
private Byte phraseSymbol;
|
|
@Schema(description = "顺序")
|
@TableField("sort")
|
private Integer sort;
|
|
@TableField("create_time")
|
private Date createTime;
|
|
@Override
|
public Serializable pkVal() {
|
return this.id;
|
}
|
}
|