using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace Models
{
    public class Payment
    {
        public Payment()
        {
            InsertDatetime = System.DateTime.Now;
        }

        [System.ComponentModel.DataAnnotations.Key]
        public int PaymentId { get; set; }

        [System.ComponentModel.DataAnnotations.MaxLength(50)]
        public string ReferenceNumber { get; set; }

        [System.ComponentModel.DataAnnotations.MaxLength(50)]
        public string SaleReferenceId { get; set; }

        [System.ComponentModel.DataAnnotations.MaxLength(5)]
        public string StatusPayment { get; set; }
        public int Amount { get; set; }
        public int UserId { get; set; }
        public DateTime InsertDatetime { get; set; }
    }

}
