From b7e46563a800011faab4eab4d298ab2dc42f2b49 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期四, 27 六月 2024 15:07:24 +0800 Subject: [PATCH] 增加 支付方式系统初始化 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoSe/SePaymentMethod.java | 78 ++++++++++++++++++++------------------- 1 files changed, 40 insertions(+), 38 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoSe/SePaymentMethod.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoSe/SePaymentMethod.java index 4652a88..5cc3839 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoSe/SePaymentMethod.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoSe/SePaymentMethod.java @@ -2,59 +2,61 @@ /** * @author :WuZeYu - * @Date :2024/6/27 14:26 - * @LastEditTime :2024/6/27 14:26 + * @Date :2024/6/27 15:00 + * @LastEditTime :2024/6/27 15:00 * @Description */ -import com.alibaba.fastjson2.annotation.JSONField; -import com.alibaba.fastjson2.writer.ObjectWriterImplToString; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import com.dy.common.po.BaseEntity; -import io.swagger.v3.oas.annotations.media.Schema; -import jakarta.validation.constraints.NotEmpty; -import lombok.*; -import org.hibernate.validator.constraints.Length; -/** - * 浠樻鏂瑰紡琛� - */ -@TableName(value="se_payment_method", autoResultMap = true) -@Data -@Builder -@ToString -@NoArgsConstructor -@AllArgsConstructor -@Schema(name = "浠樻鏂瑰紡瀹炰綋") -public class SePaymentMethod implements BaseEntity { +public class SePaymentMethod { public static final long serialVersionUID = 202401151518006L; - /** * 涓婚敭 */ - @Schema(description = "瀹炰綋id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) - @JSONField(serializeUsing= ObjectWriterImplToString.class) - @TableId(type = IdType.INPUT) - public Long id; + private Long id; /** - * 浠樻鏂瑰紡 + * 鍚嶇О */ - @Schema(description = "浠樻鏂瑰紡鍚嶇О", requiredMode = Schema.RequiredMode.REQUIRED) - @NotEmpty(message = "浠樻鏂瑰紡鍚嶇О涓嶈兘涓虹┖") //涓嶈兘涓虹┖涔熶笉鑳戒负null - @Length(message = "浠樻鏂瑰紡鍚嶇О鍚嶇О涓嶅ぇ浜巤max}瀛楋紝涓嶅皬浜巤min}瀛�", min = 1, max = 10) - public String name; + private String name; /** * 澶囨敞淇℃伅 */ - @Schema(description = "澶囨敞", requiredMode = Schema.RequiredMode.NOT_REQUIRED) - @Length(message = "澶囨敞闀垮害灏忎簬{max}瀛�", min = 1, max = 200) - public String remarks; + private String remarks; /** * 閫昏緫鍒犻櫎鏍囪瘑;0-鏈垹闄わ紝1-鍒犻櫎 */ - @Schema(description = "浠樻鏂瑰紡鍒犻櫎鏍囧織锛岃〃鍗曚笉鐢ㄥ~鍐�", requiredMode = Schema.RequiredMode.NOT_REQUIRED) - public Byte deleted; + private Byte deleted; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getRemarks() { + return remarks; + } + + public void setRemarks(String remarks) { + this.remarks = remarks; + } + + public Byte getDeleted() { + return deleted; + } + + public void setDeleted(Byte deleted) { + this.deleted = deleted; + } } \ No newline at end of file -- Gitblit v1.8.0