import com.vci.starter.web.annotation.Transient; import com.vci.starter.web.annotation.VciBtmType; import com.vci.starter.web.annotation.VciUseRefer; import com.vci.starter.web.constant.FrameWorkLcStatusConstant; import com.vci.starter.web.model.BaseModel; /** * @Description * @Author dangsn * @Date 2024/12/9 11:05 */ @VciBtmType(name = "part", lifeCycle = FrameWorkLcStatusConstant.RELEASE_LIFE_CYCLE) public class PartDO extends BaseModel { private String code; private int partType; private double weight; @VciUseRefer("workcontext") private String ownProduct; private double thickNess; @Transient(referColumn = "ownProduct.name") private String productName; public String getCode() { return code; } public void setCode(String code) { this.code = code; } public int getPartType() { return partType; } public void setPartType(int partType) { this.partType = partType; } public double getWeight() { return weight; } public void setWeight(double weight) { this.weight = weight; } public String getOwnProduct() { return ownProduct; } public void setOwnProduct(String ownProduct) { this.ownProduct = ownProduct; } public double getThickNess() { return thickNess; } public void setThickNess(double thickNess) { this.thickNess = thickNess; } public String getProductName() { return productName; } public void setProductName(String productName) { this.productName = productName; } }