package com.zy.asrs.entity; import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableField; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; @Data @TableName("asr_bas_arm") public class BasArm implements Serializable { private static final long serialVersionUID = 1L; /** * ID */ @ApiModelProperty(value= "ID") private Long id; /** * 机械臂编号 */ @ApiModelProperty(value= "机械臂编号") @TableId(value = "arm_no", type = IdType.INPUT) @TableField("arm_no") private Integer armNo; /** * 码垛位 */ @ApiModelProperty(value= "码垛位") @TableId(value = "sta_no", type = IdType.INPUT) @TableField("sta_no") private Integer staNo; /** * 拆垛位 */ @ApiModelProperty(value= "拆垛位") @TableId(value = "sorting_line", type = IdType.INPUT) @TableField("sorting_line") private Integer sortingLine; @ApiModelProperty(value= "") private Integer status; public BasArm() {} public BasArm(Integer armNo,Integer staNo,Integer sortingLine,Integer status) { this.armNo = armNo; this.staNo = staNo; this.sortingLine = sortingLine; this.status = status; } // BasArm basArm = new BasArm( // null, // 机械臂编号[非空] // null, // 码垛位[非空] // null, // 拆垛位[非空] // null // [非空] // ); }