package com.tcm.training.admin.member.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.math.BigDecimal; import java.time.LocalDateTime; @TableName("tcm_member_price_config") @Getter @Setter @NoArgsConstructor public class MemberPriceConfig { @TableId(type = IdType.AUTO) private Long id; @TableField("month_card_price") private BigDecimal monthCardPrice; @TableField("month_card_days") private Integer monthCardDays; @TableField("month_card_enabled") private Integer monthCardEnabled; @TableField("quarter_card_price") private BigDecimal quarterCardPrice; @TableField("quarter_card_days") private Integer quarterCardDays; @TableField("quarter_card_enabled") private Integer quarterCardEnabled; @TableLogic private Integer deleted; @TableField(value = "created_by", fill = FieldFill.INSERT) private String createdBy; @TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE) private String updatedBy; @TableField("created_at") private LocalDateTime createdAt; @TableField("updated_at") private LocalDateTime updatedAt; }