parent
af26fb95d7
commit
1b35e97451
15 changed files with 154 additions and 57 deletions
@ -0,0 +1,14 @@ |
|||||||
|
package org.springblade.modules.jinchao.constant; |
||||||
|
|
||||||
|
public interface ProductConst { |
||||||
|
|
||||||
|
/** |
||||||
|
* 标准 |
||||||
|
*/ |
||||||
|
Integer TYPE_PRICE_STANDARD = 1; |
||||||
|
|
||||||
|
/** |
||||||
|
* 特定价格 |
||||||
|
*/ |
||||||
|
Integer TYPE_PRICE_CUS = 2; |
||||||
|
} |
||||||
@ -0,0 +1,73 @@ |
|||||||
|
/** |
||||||
|
* BladeX Commercial License Agreement |
||||||
|
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||||
|
* <p> |
||||||
|
* Use of this software is governed by the Commercial License Agreement |
||||||
|
* obtained after purchasing a license from BladeX. |
||||||
|
* <p> |
||||||
|
* 1. This software is for development use only under a valid license |
||||||
|
* from BladeX. |
||||||
|
* <p> |
||||||
|
* 2. Redistribution of this software's source code to any third party |
||||||
|
* without a commercial license is strictly prohibited. |
||||||
|
* <p> |
||||||
|
* 3. Licensees may copyright their own code but cannot use segments |
||||||
|
* from this software for such purposes. Copyright of this software |
||||||
|
* remains with BladeX. |
||||||
|
* <p> |
||||||
|
* Using this software signifies agreement to this License, and the software |
||||||
|
* must not be used for illegal purposes. |
||||||
|
* <p> |
||||||
|
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is |
||||||
|
* not liable for any claims arising from secondary or illegal development. |
||||||
|
* <p> |
||||||
|
* Author: Chill Zhuang (bladejava@qq.com) |
||||||
|
*/ |
||||||
|
package org.springblade.modules.jinchao.pojo.vo; |
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import org.springblade.modules.jinchao.pojo.entity.ProductEntity; |
||||||
|
import org.springblade.modules.jinchao.pojo.entity.ProductObjEntity; |
||||||
|
|
||||||
|
import java.io.Serial; |
||||||
|
|
||||||
|
/** |
||||||
|
* [产品] 视图实体类 |
||||||
|
* |
||||||
|
* @author BladeX |
||||||
|
* @since 2025-12-01 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@EqualsAndHashCode(callSuper = true) |
||||||
|
public class ProductVO extends ProductEntity { |
||||||
|
@Serial |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
/** |
||||||
|
* [1]标准;[2]客户特定价 |
||||||
|
*/ |
||||||
|
@Schema(description = "[1]标准;[2]客户特定价") |
||||||
|
private Integer type; |
||||||
|
/** |
||||||
|
* [产品]id |
||||||
|
*/ |
||||||
|
@Schema(description = "[产品]id") |
||||||
|
private Long productId; |
||||||
|
/** |
||||||
|
* 业务员[用户]id |
||||||
|
*/ |
||||||
|
@Schema(description = "业务员[用户]id") |
||||||
|
private Long saleUserId; |
||||||
|
/** |
||||||
|
* [客户]id |
||||||
|
*/ |
||||||
|
@Schema(description = "[客户]id") |
||||||
|
private Long customerId; |
||||||
|
/** |
||||||
|
* 特定用户价格 |
||||||
|
*/ |
||||||
|
@Schema(description = "特定用户价格") |
||||||
|
private Double bizPrice; |
||||||
|
} |
||||||
Loading…
Reference in new issue