package com.dsh.course.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.math.BigDecimal; @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @TableName("t_order") public class TOrder extends Model { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @TableField("paysId") private String paysId; @TableField("orderNum") private String orderNum; @TableField("isPay") private Integer isPay; @TableField("payType") private Integer payType; @TableField("appUserId") private Integer appUserId; @TableField("price") private Double price; @TableField("code") private String code; @TableField("studentId") private Integer studentId; }