Station.java 1.98 KB
package com.huaheng.pc.config.station.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Enzo Cotter on 2019/10/11.
 */

@ApiModel(value="com.huaheng.pc.config.station.domain.Station")
@Data
@TableName(value = "station")
public class Station implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="标识")
    private Integer id;

    /**
     * 名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value="名称")
    private String name;

    /**
     * 编码
     */
    @TableField(value = "code")
    @ApiModelProperty(value="编码")
    private String code;

    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value="类型")
    private String type;

    /**
     * 状态
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态")
    private Integer status;

    /**
     * 仓库编码
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="仓库编码")
    private String warehouseCode;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    @ApiModelProperty(value="创建时间")
    private Date created;

    /**
     * 创建者
     */
    @TableField(value = "createdBy")
    @ApiModelProperty(value="创建者")
    private String createdBy;

    /**
     * 更新时间
     */
    @TableField(value = "lastUpdated")
    @ApiModelProperty(value="更新时间")
    private Date lastUpdated;

    /**
     * 更新者
     */
    @TableField(value = "lastUpdatedBy")
    @ApiModelProperty(value="更新者")
    private String lastUpdatedBy;

    private static final long serialVersionUID = 1L;
}