You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
628 B
29 lines
628 B
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace JMENepal.Model
|
|
{
|
|
public class JMEAgent : CommonModel
|
|
{
|
|
private string _PAYMENTTYPE;
|
|
|
|
[Required]
|
|
public string PAYMENTTYPE
|
|
{
|
|
get
|
|
{
|
|
if (_PAYMENTTYPE.ToLower().Equals("cash payment"))
|
|
{
|
|
return "C";
|
|
}
|
|
return "B";
|
|
}
|
|
set { _PAYMENTTYPE = value; }
|
|
}
|
|
|
|
[Required]
|
|
public string PAYOUT_COUNTRY { get; set; }
|
|
|
|
[Required]
|
|
public string Ext_Bank_ID { get; set; }
|
|
}
|
|
}
|