package org.jeecg.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
|
/**
|
* 用户产线
|
*
|
* @author: LiuS
|
* @create: 2023-03-24 15:39
|
*/
|
@Data
|
@TableName("mdc_user_production")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value="mdc_user_production对象", description="用户产线表")
|
public class MdcUserProduction implements Serializable {
|
|
private static final long serialVersionUID = 108430837598974955L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
/**
|
* 用户id
|
*/
|
private String userId;
|
/**
|
* 产线id
|
*/
|
private String proId;
|
|
public MdcUserProduction(String id, String userId, String proId) {
|
super();
|
this.id = id;
|
this.userId = userId;
|
this.proId = proId;
|
}
|
|
public MdcUserProduction(String id, String productionId) {
|
this.userId = id;
|
this.proId = productionId;
|
}
|
}
|