# JournalEntryDTO.java

    package cloud.wconnect.finance.pojo.dto.pl.m3api;

    import com.fasterxml.jackson.annotation.JsonProperty;
    import lombok.Data;

    import java.math.BigDecimal;

    /**
     * Journal Entry 数据
     *
     * @author lichen
     * @date 2025/10/14
     */
    @Data
    public class JournalEntryDTO {

        @JsonProperty("Journal Entry ID")
        private String journalEntryId;

        @JsonProperty("Journal Entry Detail ID")
        private String journalEntryDetailId;

        @JsonProperty("Company Code")
        private String companyCode;

        @JsonProperty("Company Name")
        private String companyName;

        @JsonProperty("Property Code")
        private String propertyCode;

        @JsonProperty("Property Name")
        private String propertyName;

        @JsonProperty("Batch ID")
        private String batchId;

        @JsonProperty("Batch Type")
        private String batchType;

        @JsonProperty("Trans Type")
        private String transType;

        /**
         * Account Numbers
         */
        @JsonProperty("GLAccount")
        private String glAccount;

        /**
         * 发布日期，格式yyyy-MM-dd
         */
        @JsonProperty("Post Date")
        private String postDate;

        @JsonProperty("Created Date")
        private String createdDate;

        @JsonProperty("Description")
        private String description;

        @JsonProperty("Reference")
        private String reference;

        /**
         * 金额
         */
        @JsonProperty("Amount")
        private BigDecimal amount;

        /**
         * TRANS_TYPE常量
         */
        public static final String TRANS_TYPE_D = "D";
        public static final String TRANS_TYPE_C = "C";

    }