| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- package com.cyksj.model.views;
- import com.ejlchina.searcher.bean.DbField;
- import com.ejlchina.searcher.bean.DbIgnore;
- import com.ejlchina.searcher.bean.SearchBean;
- import lombok.Getter;
- import lombok.Setter;
- import java.util.Date;
- import java.util.List;
- /**
- * 项目名: yhlxj2
- * 文件名: CouponClassificationCascadeView
- * 创建者: JavaZou
- * 创建时间:2025/4/7 15:17
- */
- @Getter
- @Setter
- @SearchBean(tables = "coupon c inner join coupon_classification cc on cc.id = c.classification_id",
- where = "c.deleted is true")
- public class CouponClassificationCascadeView {
- @DbField("c.id")
- private Long id;
- @DbField("c.name")
- private String name;
- @DbField("c.is_valid_time")
- private Boolean isValidTime;
- @DbField("c.valid_start_time")
- private Date validStartTime;
- @DbField("c.valid_end_time")
- private Date validEndTime;
- @DbField("cc.name")
- private String category;
- @DbIgnore
- private String label;
- @DbIgnore
- private String value;
- private List<CouponChild> children;
- @Getter
- @Setter
- public static class CouponChild{
- private String label;
- private Long value;
- }
- }
|