feat: 移植工程
This commit is contained in:
42
home-service/src/main/java/com/cxx/home/entity/Ledger.java
Normal file
42
home-service/src/main/java/com/cxx/home/entity/Ledger.java
Normal file
@@ -0,0 +1,42 @@
|
||||
package com.cxx.home.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("ledger")
|
||||
public class Ledger extends AbstractEntity {
|
||||
@TableField(value = "book")
|
||||
private String book;
|
||||
|
||||
@TableField("category")
|
||||
private String category;
|
||||
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
@TableField("price")
|
||||
private Double price;
|
||||
|
||||
@TableField("number")
|
||||
private Integer number;
|
||||
|
||||
@TableField("unit")
|
||||
private String unit;
|
||||
|
||||
@TableField("payer")
|
||||
private String payer;
|
||||
|
||||
@TableField("provider")
|
||||
private String provider;
|
||||
|
||||
@TableField("imager_url")
|
||||
private String imagerUrl;
|
||||
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
}
|
||||
Reference in New Issue
Block a user