package cn.stylefeng.guns.modular.sc.scannerConfig.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 扫描枪配置表
|
* </p>
|
*
|
* @author zrm
|
* @since 2023-07-11
|
*/
|
@TableName("sc_scanner_config")
|
public class ScannerConfig implements Serializable {
|
|
private static final long serialVersionUID=1L;
|
|
/**
|
* id
|
*/
|
@TableId(value = "id", type = IdType.ID_WORKER)
|
private Long id;
|
|
/**
|
* 工位编码
|
*/
|
@TableField("location_code")
|
private String locationCode;
|
|
/**
|
* ip地址
|
*/
|
@TableField("ip_address")
|
private String ipAddress;
|
|
/**
|
* 创建人
|
*/
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
private String createUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getLocationCode() {
|
return locationCode;
|
}
|
|
public void setLocationCode(String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
public String getIpAddress() {
|
return ipAddress;
|
}
|
|
public void setIpAddress(String ipAddress) {
|
this.ipAddress = ipAddress;
|
}
|
|
public String getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(String createUser) {
|
this.createUser = createUser;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@Override
|
public String toString() {
|
return "ScannerConfig{" +
|
"id=" + id +
|
", locationCode=" + locationCode +
|
", ipAddress=" + ipAddress +
|
", createUser=" + createUser +
|
", createTime=" + createTime +
|
"}";
|
}
|
}
|