package com.ximai.mes.pro.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ximai.common.annotation.Excel;
import com.ximai.common.core.domain.BaseEntity;
import com.ximai.mes.pro.domain.proWorkOrder.ProWorkorder;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 生产编排单对象 pro_arrange
 *
 * @author generator
 * @date 2024-03-01
 */
@Data
public class ProArrange extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId
    private Long arrangeId;

    /**
     * 分组单号
     */
    @ApiModelProperty("分组号")
    private String groupCode;

    /**
     * 组合单号
     */
    @ApiModelProperty("编排单号")
    private String arrangeCode;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Integer arrangeSort;

    /**
     * 生产工单号
     */
    @Excel(name = "生产工单号")
    private Long workorderId;

    /**
     * 生产工单编号
     */
    @Excel(name = "生产工单编号")
    private String workorderCode;

    @TableField(exist = false)
    private String workorderIds;

    @TableField(exist = false)
    private Long quantity;

    @TableField(exist = false)
    private ProWorkorder proWorkorder;

}
