package com.pj.project.tb_discount;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Model: tb_discount -- 折扣管理
 * @author qzy 
 */
@Data
@Accessors(chain = true)
@TableName(TbDiscount.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class TbDiscount extends Model<TbDiscount> implements Serializable {

	// ---------- 模块常量 ----------
	/**
	 * 序列化版本id 
	 */
	private static final long serialVersionUID = 1L;	
	/**
	 * 此模块对应的表名 
	 */
	public static final String TABLE_NAME = "tb_discount";	
	/**
	 * 此模块对应的权限码 
	 */
	public static final String PERMISSION_CODE = "tb-discount";	


	// ---------- 表中字段 ----------
	/**
	 * 主键 
	 */
	private String id;

	/**
	 * 标题 
	 */
	private String title;	

	/**
	 * 类型[j] 
	 */
	private Integer type;

	/**
	 * 折扣 
	 */
	private Double discount;	

	/**
	 * 充值金额 
	 */
	private BigDecimal money;
	private BigDecimal subtract;

	/**
	 * 状态[j] 
	 */
	private Integer status;

	/**
	 * 创建时间 
	 */
	private Date createTime;





	


}
