|
@@ -0,0 +1,82 @@
|
|
|
+package com.management.platform.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
+@Accessors(chain = true)
|
|
|
+public class Bill extends Model<Bill> {
|
|
|
+ public static void main(String[] args) {
|
|
|
+ Date date = new Date();
|
|
|
+ SimpleDateFormat sdfYmd = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ SimpleDateFormat sdfHms = new SimpleDateFormat("HH:mm:ss");
|
|
|
+ String format1 = sdfYmd.format(date);
|
|
|
+ String format2 = sdfHms.format(date);
|
|
|
+ String format = String.format("%sT%s+8:00", format1, format2);
|
|
|
+ System.out.println(format);
|
|
|
+ }
|
|
|
+
|
|
|
+ private static final long serialVersionUID=1L;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.id
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private Integer id;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.seq
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private String seq;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.user_id
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private String userId;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.company_id
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private String companyId;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.mobile
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private String mobile;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.name
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private String name;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.pay_type
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private String payType;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.money
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private Integer money;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.result
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private Integer result;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.indate
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private Date indate;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column bill.year
|
|
|
+ * @mbg.generated Mon Feb 25 20:47:33 CST 2019
|
|
|
+ */
|
|
|
+ private Integer year;
|
|
|
+
|
|
|
+}
|