货物 @author @email
| 25 | |
| 26 | */ |
| 27 | @TableName("huowu") |
| 28 | public class HuowuEntity<T> implements Serializable { |
| 29 | private static final long serialVersionUID = 1L; |
| 30 | |
| 31 | |
| 32 | public HuowuEntity() { |
| 33 | |
| 34 | } |
| 35 | |
| 36 | public HuowuEntity(T t) { |
| 37 | try { |
| 38 | BeanUtils.copyProperties(this, t); |
| 39 | } catch (IllegalAccessException | InvocationTargetException e) { |
| 40 | // TODO Auto-generated catch block |
| 41 | e.printStackTrace(); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | |
| 46 | /** |
| 47 | * 主键 |
| 48 | */ |
| 49 | @TableId(type = IdType.AUTO) |
| 50 | @ColumnInfo(comment="主键",type="int(11)") |
| 51 | @TableField(value = "id") |
| 52 | |
| 53 | private Integer id; |
| 54 | |
| 55 | |
| 56 | /** |
| 57 | * 商家 |
| 58 | */ |
| 59 | @ColumnInfo(comment="商家",type="int(11)") |
| 60 | @TableField(value = "shangpin_order_id") |
| 61 | |
| 62 | private Integer shangpinOrderId; |
| 63 | |
| 64 | |
| 65 | /** |
| 66 | * 货物名称 |
| 67 | */ |
| 68 | @ColumnInfo(comment="货物名称",type="varchar(200)") |
| 69 | @TableField(value = "huowu_name") |
| 70 | |
| 71 | private String huowuName; |
| 72 | |
| 73 | |
| 74 | /** |
| 75 | * 货物编号 |
| 76 | */ |
| 77 | @ColumnInfo(comment="货物编号",type="varchar(200)") |
| 78 | @TableField(value = "huowu_uuid_number") |
| 79 | |
| 80 | private String huowuUuidNumber; |
| 81 | |
| 82 | |
| 83 | /** |
| 84 | * 货物类型 |
nothing calls this directly
no outgoing calls
no test coverage detected